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

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.

主站蜘蛛池模板: 蚌埠市| 始兴县| 德化县| 广汉市| 广东省| 杭锦旗| 天峻县| 乐山市| 永泰县| 朔州市| 城步| 重庆市| 辉县市| 廊坊市| 会东县| 将乐县| 三都| 巫山县| 翼城县| 乌鲁木齐县| 中牟县| 读书| 封开县| 旬阳县| 屯留县| 上栗县| 藁城市| 伊通| 城市| 柳河县| 昌乐县| 凤阳县| 大洼县| 南城县| 金溪县| 通许县| 潍坊市| 虎林市| 勃利县| 厦门市| 佛学|