Bridge a generic MQTT Server with Azure IoT Hub
1M+
This is a very simple project - bridge a generic MQTT Broker (say a specific topic) to an Azure IoT Hub.
This project is based on two main sources:
The generic MQTT client part as well as IoT Hub Connection string are configured over the following environment variables:
The source code for the image is published on GitHub
You can quickly test the bridge with the following command
az container create -g <RESOURCE_GROUP> -n <NAME_OF_THE_SERVICE> -e 'DEVICE_CONNECTION_STRING=<YOUR_CONN_STRING>' 'MQTT_SERVER=<MQTT_SERVER>' 'MQTT_TOPIC=<MQTT_TOPIC>' --image astaykov/mqtt-bridge --cpu 1 --memory 0.5
Where the placeholders have following meaning
Enhance MQTT Client to support secured MQTT connections (requires importing of server certificates).
Content type
Image
Digest
Size
31.7 MB
Last updated
over 8 years ago
docker pull astaykov/mqtt-bridge