Venkatesh N
Venkatesh N

Reputation: 47

How Achieve AWS MQTT topics in azure IoT and what is the work around for the similar functionality

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

Answers (2)

Stefan Wick  MSFT
Stefan Wick MSFT

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

LeelaRajesh_Sayana
LeelaRajesh_Sayana

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:

  • MQTT v3.1.1 on TCP port 8883
  • MQTT v3.1.1 over WebSocket on TCP port 443.

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

Related Questions