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

MQTT

MQTT stands for Message Queuing Telemetry Transport. It is an extremely lightweight messaging protocol based on the publish and subscribe pattern. As with any message queuing model, it is an asynchronous protocol.

As shown in the following diagram, publish and subscribe (pub/sub) models rely on three actors:

The three actors are explained as follows:

  • The publisher is the actor that produces any content and publishes it to a given subject (known as a topic).
  • The subscriber is an event consumer. The subscriber subscribes to its subjects (topics) of interest and gets the event published every time a publisher creates a publication to one of its subscriptions.
  • The Broker is responsible for receiving publications and notifying the subscribers of a topic of interest.

Now let's move on to the next important technical element.

主站蜘蛛池模板: 密山市| 呼和浩特市| 临洮县| 镇宁| 忻州市| 西华县| 阳新县| 镇远县| 许昌市| 沈丘县| 格尔木市| 喀喇| 城口县| 綦江县| 乐业县| 弋阳县| 和田市| 越西县| 万山特区| 大竹县| 九江县| 大宁县| 南木林县| 嘉鱼县| 收藏| 揭西县| 绥阳县| 陕西省| 鲁甸县| 马龙县| 乐平市| 获嘉县| 武隆县| 利川市| 徐汇区| 鲁山县| 平乡县| 西城区| 夏邑县| 富民县| 门源|