Translations:MQTT/136/en
Версия от 14:55, 10 июня 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «== The principle of operation of a message queue == File:MQTT.png | thumb | 600px | Drivers of internal functions, external devices, web interface, rules system…»)
The principle of operation of a message queue
The MQTT message system is based on the following principle:
- there is a hierarchical system of "topics" (like on the Internet forums)
- clients (in the case of Wiren Board - device drivers and web interface) can write messages and read from these topics
- to monitor the changes of the desired topic (for example, temperature on the sensor), the client can "subscribe" to it - then it will receive all messages in this topic.
For a full description of topics and subscriptions, see http://mosquitto.org/man/mqtt-7.html.http://mosquitto.org/man/mqtt-7.html.