bytebeamio / rumqtt

The MQTT ecosystem in rust
Apache License 2.0
1.53k stars 234 forks source link

rumqttc - Event ordering of puback is incorrect #860

Closed ting-ms closed 1 month ago

ting-ms commented 1 month ago

Expected Behavior

The outgoing puback event should occur after the incoming publish event.

Current Behavior

The outgoing puback event is occurring before the incoming publish event.

Failure Information (for bugs)

image

Context

Run asyncpubsub_v5 example with subscribe and publish QoS set to AtLeastOnce. To verify the problem, check the output events.