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

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.

主站蜘蛛池模板: 子长县| 行唐县| 茌平县| 濮阳县| 新竹县| 兰溪市| 宜都市| 紫金县| 攀枝花市| 昌黎县| 北宁市| 辰溪县| 广东省| 嘉禾县| 南乐县| 慈溪市| 安庆市| 微山县| 茂名市| 铁力市| 新沂市| 舒兰市| 司法| 舟曲县| 乌鲁木齐市| 滁州市| 彰化县| 百色市| 涟水县| 临猗县| 中西区| 利川市| 任丘市| 万盛区| 姚安县| 蒙城县| 明光市| 景洪市| 鄂托克前旗| 武定县| 车致|