bytebeamio / rumqtt

The MQTT ecosystem in rust
Apache License 2.0
1.59k stars 247 forks source link

Keep the ACK ordering when using manual ACK #846

Open xiaocq2001 opened 5 months ago

xiaocq2001 commented 5 months ago

When manual acknowledgment (ACK) is enabled, the sequence of acknowledging messages (in application implement) may not align with the order in which messages are received. Is there an underlying mechanism in place to ensure message ordering is maintained, in accordance with MQTT protocol's message sequencing?

xiaocq2001 commented 3 months ago

Is there any comments about this issue?

swanandx commented 3 months ago

Is there any comments about this issue?

hey, sorry for late reply. If manual acks are enabled, it is responsibility of application to ack them and hence ordering of acks is also with the application.