MQTT Data Bridge to Apache Kafka

khuram zahid 0 Reputation points
2025-02-24T08:15:38.7366667+00:00

I am working on migrating our existing IoT SaaS application from OVH cloud to Azure. We need to know if Azure MQTT Broker can publish events to Apache Kafka so that the services on the backend that are subscribed to Kafka can act on those events.

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

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 35,246 Reputation points MVP
    2025-02-24T14:16:02.2733333+00:00

    Hello @khuram zahid ,

    welcome to this moderated Azure community forum.

    MQTT messages received by an EventGrid Namespace MQTT broker can be forwarded by EventGrid Topics (not to be confused with MQTT protocol topics).

    This can be a custom EventGrid Topic or an (integrated) EventGrid Namespace Topic.

    Either way, these topics can forward messages to one or more endpoints.

    Currently, the list of endpoint types are available:

    User's image

    As you can see, Apache Kafka is not supported in one go.

    You need to forward messages to some service in between, like a web hook capable to connect to the Apache Kafka endpoint.

    As an alternative, perhaps you can migrate the Apache Kafka service to Azure in the form of an EventHub.

    In that case you can connect directly.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    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.