Does Azure IoT Hub provide a MQTT 3.1 Service that supports both non-encrypted and encrypted (SSL/TLS) connections?

Bruce Smith 1 Reputation point
2020-08-06T07:53:27.617+00:00

Hello, Currently using EMQX as a message broker but looking to perhaps make the leap into Azure IOT Hub. I'm curious to know what MQTT 3.1 functionality Azure IOT Hub has and if this could completely replace EMQX as a message broker for MQTT 3.1 connections. Thanks!

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,157 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 30,516 Reputation points
    2020-08-06T12:08:38.04+00:00

    @Bruce Smith Welcome to Q&A forum!

    IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard.

    Azure IoT Hub has built-in the device-facing endpoint for handling directly the MQTT protocol between the device and IoT Hub in the bidirectional manner.

    All device communication with IoT Hub must be secured using TLS/SSL. Therefore, IoT Hub doesn't support non-secure connections over port 1883.

    Please refer the Communicate with your IoT hub using the MQTT protocol for more details to understand how MQTT works with IoT Hub.

    Do let us know if you have further queries.