While working with IoT in general and Azure IoT Edge more specifically, you will always encounter multiple kinds of communication protocols, both in the cloud and on the edge.
In the past, I have posted multiple blogs regarding protocols, seen on the edge like UDP, Modbus RTU, Serial communication, and OPC-UA.
One of the most popular protocols in the world of IoT is MQTT:
MQTT (originally an initialism of MQ Telemetry Transport) is a lightweight, publish-subscribe, machine to machine network protocolhttps://en.wikipedia.org/wiki/MQTT
So, it is time to dive into this protocol by running an MQTT broker on the edge and consuming it:
Yes, we are going to deploy a regular MQTT broker as a docker container within Azure IoT Edge (which uses Moby under the covers). Then, we bridge messages sent to MQTT topics to the cloud using Azure IoT Hub.
For this exercise, I have chosen HiveMQ as a broker.
Let’s see how this works.Doorgaan met het lezen van “Running HiveMQ MQTT broker on Azure IoT Edge”