Search code examples
mqttiotazure-iot-hubazure-iot-sdkazure-sphere

How can I send IoT hub messages to MQTT broker?


I am sending some messages from a Azure sphere device to IoT hub, now I want to send/route these messages to a MQTT broker from where I can get this messages and display it in third party software. Please guide me I am new to this topic, any leads or suggestions would be helpful.


Solution

  • There is no built-in way to forward messages from Azure IoT Hub to another generic MQTT broker. What you for example could do, is to write an small Azure Function that consumes the telemetry data from your IoT Hub and then write it to your MQTT broker.