Messages published over MQTT from an IoT Greengrass device arrive out-of-order

0

Hi, when using IoT Greengrass I've found that when MQTT messages are published close together (less than 1-second interval) they may arrive out of order. Is this expected?

AWS
エキスパート
質問済み 3年前542ビュー
1回答
0
承認された回答

Out-of-order MQTT messages should be expected and solutions should be designed with this principle in mind. Messages published with QoS1 retries from the client when ACK is not received is a common way that messages get out of order. Many things can cause the ACK to not be received - Internet down, power outage, network congestion.

Strategies for handling out-of-order messages include use of sequencing numbers generated by the client and ignoring messages received with a timestamp older than the last processed message. For more guidance, consult the IoT Lens for AWS Well-Architected. https://docs.aws.amazon.com/wellarchitected/latest/iot-lens/welcome.html

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン