MQTT with mosquito

What message queues are supported by Mosqitto ( http://mosquitto.org/ )? I also want to know in the MQTT protocol, a different message queue is created for each topic, or this can be done without it in case of memory limitations.

+5
source share
2 answers

Mosquitto only supports MQTT. MQTT has no idea what is usually considered a queue. Having said that, each client has a queue of messages that will be delivered to him. The number of messages in the client queue can be limited by the configuration parameter. In the future, there will be an opportunity to globally limit the use of the heap and therefore the total length of the queues.

+6
source

Messages can be delivered by the broker as Mosquitto in different ways based on the quality of service (QoS) specified by the publisher.

See http://2lemetry.com/2013/08/22/mqtt-in-a-nutshell/ for a good description of QoS MQTT.

0
source

Source: https://habr.com/ru/post/1204257/


All Articles