0
votes

I have installed mosquitto as a local broker. There are multiple devices which sends messages to the broker. I want that whatever message coming to mosquitto broker should be sent to azure IOT hub. Can anyone please refer to any document how to do that.

1

1 Answers

0
votes

You have several approaches:

  • You can use one of the device client SDKs (depending on which language you are using on your broker) to send data to IoT Hub
  • You can use MQTT directly to communicate with IoT Hub, which will require that you do specific things described in this document

(definitively recommend using the client SDK)