This is a demonstration on how to deploy an MQTT Broker on Azure IoT Edge. Next to the generic MQTT broker, a custom MQTT message producer module and an MQTT message consumer module is deployed. MQTT messages are then sent to the cloud.
More background information and a demonstration of the logic is available at my blog.
Note: Neither am I related to HiveMQ nor do I get any compensation for you using HiveMQ. This simple Docker support was the reason to check it out.
You can just use your own MQTT broker, as docker container or anywhere else in the local network, as long as you keep the topics on par.
This repo is available under MIT license.