Does Azure Service Bus support MQTT and MQTT-over-WebSocket protocol?

Allen Du 20 Reputation points
2024-02-12T04:35:24.7033333+00:00

We have implemented an application to send message by AMQP-over-WebSocket to azure service bus using azure-iot-sdk-c package. Now our customer wants use MQTT-over-WebSocket as an alternative protocol option. But I didn't find clear answer say azure-service-bus supports or not in microsoft web-site. Could you tell if azure service bus supports MQTT and MQTT-over-WebSocket protocol? If yes, could you tell where to find a c code sample?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
0 comments No comments
{count} votes

Accepted answer
  1. Eldert Grootenboer 160 Reputation points Microsoft Employee
    2024-02-16T16:04:35.4933333+00:00

    Azure Service Bus does not support MQTT. However, in the Azure messaging space, Event Grid has recently added support for MQTT. For more information, you can check https://learn.microsoft.com/en-us/azure/event-grid/mqtt-overview.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2024-02-12T08:05:58.5266667+00:00

    Service Bus supports standard Advanced Message Queuing Protocol (AMQP) 1.0 and HTTP/REST protocols.

    https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview

    here is a good blog for which azure services supports which messaging protocol

    https://engage.safe.com/blog/2021/06/using-azure-services-messaging-protocols/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.