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 年前檢視次數 587 次
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. :-)

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南