Reputation: 47
I'm exploring Azure IoT and looking for implementation of MQTT topics (a functionality in AWS IoT) in Azure too. How to achieve this and if Azure doesn't support this, then how to achieve this via alternate approach.
Upvotes: -1
Views: 75
Reputation: 13850
I believe the question is about custom hierarchical topics (incl. wildcard support).
To achieve this in Azure use the EventGrid MQTT broker.
https://learn.microsoft.com/en-us/azure/event-grid/mqtt-overview
Upvotes: 0
Reputation: 640
You can use MQTT protocol to connect to Azure IoT Hub. IoT Hub enables devices to communicate with the IoT Hub device endpoints using:
The connection to IoT Hub using MQTT can be established by using Azure IoT SDKs or using the MQTT protocol directly. Refer to the article TLS/SSL configuration which provides a sample code in Python demonstrating usage of the protocol directly.
Note that support for MQTT 5 with Azure IoT Hub is still in preview state and offers limited feature support. Here are the resources that will provide more information on MQTT support
Upvotes: 0