RabbitMQ -Python Client (MQTT) #5 : MQTT implementation in RabbitMQ

So far, we have looked at how to use the RabbitMQ protocol of the AMQP standard. RabbitMQ supports the MQTT protocol as well as AMQP. MQTT is more lightweight than AMQP and was created considering poor network environment. Therefore, it is designed to be used in IoT devices that have low computing power and are exposed to outdoor environments. A typical MQTT message broker is Mosquitto. I have previously presented C++ and Python examples of working with the Mosquitto Message Broker. MQTT - Python Client MQTT - C/C++ Client However, RabbitMQ also supports the MQTT protocol. This time I will look at how to use the MQTT protocol in RabbitMQ. Enabling MQTT in RabbitMQ docker image The Docker images tested so far have MQTT disabled. To activate the MQTT plugin, docker must be newly built and used as follows. # cat Dockerfile FROM rabbitmq:management RUN rabbitmq-plugins enable --offline rabbitmq_mqtt Then build the new docker image. # docker build -t rmqcustom . Run the ...