官术网_书友最值得收藏!

QoS 2

Deliver exactly once - Make sure they get it, but make sure they only get it once - they get confused.

QoS 2 guarantees the message is delivered and delivered only once. As can be seen in the diagram, there are multiple back and forth communications to orchestrate this guarantee. The state of the communication needs to be stored by both the sides until full confirmation of delivery is communicated back to the publisher. This requires both a higher level of power on the device and a larger memory footprint in order to store the more complex state. It also takes a bit longer to complete QoS 2 communications.

QoS 2 is used when delivery needs to be guaranteed and the end application or subscribing client is unable to handle duplicate messages.

主站蜘蛛池模板: 拜城县| 桐庐县| 孝昌县| 攀枝花市| 广州市| 涟源市| 新绛县| 临潭县| 田阳县| 喀什市| 沁水县| 汾西县| 中阳县| 赫章县| 文昌市| 洱源县| 宣汉县| 盐城市| 宁武县| 东台市| 沁源县| 武清区| 望奎县| 寿光市| 蕉岭县| 松江区| 卓尼县| 屯留县| 亚东县| 大田县| 万山特区| 慈溪市| 监利县| 长沙市| 政和县| 宁化县| 西乌珠穆沁旗| 永吉县| 罗城| 集贤县| 洛隆县|