Is IoT Core support Qos2?

0

Somebody told that Iot Core supports QoS2, I am going to start a project and would like to confirm this. Thanks

已提问 2 年前588 查看次数
3 回答
2

Hi Ozi, while at the moment AWS IoT Core does not support QoS2, it would be interesting to understand why you need support for it. If you are designing a new system, you should make it idempotent instead of relying on exact once processing semantics. Idempotent systems scale better and are more resilient to failures. With an idempotent implementation, QoS1 (at least once) is sufficient.

Cheers, Massi

AWS
专家
已回答 2 年前
  • After reading more about the QoS2 levels, seems like level 1 will be enough. Only need to handle duplicates. If I have 3 seccond so of frequency, will this duplication be problem? that was the reason I was thinking about level2.

1
已接受的回答

Hi Ozy smile. AWS IoT Core does not support QoS2 at this time. https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt-qos

AWS IoT and the AWS IoT Device SDKs support the MQTT Quality of Service (QoS) levels 0 and 1. The MQTT protocol defines a third level of QoS, level 2, but AWS IoT does not support it. Only the MQTT protocol supports the QoS feature. HTTPS supports QoS by passing a query string parameter ?qos=qos where the value can be 0 or 1.

profile pictureAWS
专家
Greg_B
已回答 2 年前
0

thank you for quick reply.

已回答 2 年前
  • No worries. Please consider to accept my answer so I get the precious 10 points. :-)

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则