0

I'd like to ensure that my packets are received in-order by IoTCore. As QoS2 is not available it looks like the only way to do that in-client is to limit the number of in flight messages to 1. This is described well in answers to other questions for different clients:

However, although I can see how to set this in Paho I cannot see how to set it using the awssdk2 for Python.

So my questions are:

  1. What is the in-flight limit set for AWS IoTCore MQTT?
  2. Is it possible to change that limit?

All suggestions appreciated.

Ed

  • Please provide enough code so others can better understand or reproduce the problem. – Community Aug 17 '22 at 19:08
  • The [developer guide](https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html) states "The message broker doesn't guarantee the order in which messages and ACK are received". So even if you wait on the QOS1 ACK before sending another message there is still no guarantee that messages will reach subscribers in order. See [this question](https://stackoverflow.com/q/46558714/11810946) for more info. – Brits Aug 18 '22 at 04:13
  • I think that is the reason to limit in-flight messages to 1 as set out in my question. – edcloudcycle Aug 22 '22 at 06:49

0 Answers0