Create Kafka enabled Event Hubs

Azure Event Hubs is a Big Data streaming Platform as a Service (PaaS) that ingests millions of events per second, and provides low latency and high throughput for real-time analytics and visualization.

Azure Event Hubs for Kafka ecosystems provides you with an endpoint. This endpoint enables your Event Hubs namespace to natively understand Apache Kafka message protocol and APIs. With this capability, you can communicate with your Event Hubs as you would with Kafka topics without changing your protocol clients or running your own clusters. Event Hubs for Kafka ecosystems supports Apache Kafka versions 1.0 and later.

This article describes how to create an Event Hubs namespace and get the connection string required to connect Kafka applications to Kafka enabled Event Hubs.

Prerequisites

If you do not have an Azure subscription, create a free account before you begin.

Create a Kafka enabled Event Hubs namespace

  1. Log on to the Azure portal, and click Create a resource at the top left of the screen.

  2. Search for Event Hubs and select the options shown here:

    Search for Event Hubs in the portal

  3. Create namespace, by providing an unique name and enable Kafka on the namespace. Click Create.

    Create a namespace

  4. Once the namespace is created, on the Settings tab, click Shared access policies to get the connection string.

    Click Shared access policies

  5. You can choose the default RootManageSharedAccessKey, or add a new policy. Click the policy name and copy the connection string.

    Select a policy

  6. Add this connection string to your Kafka application configuration.

You can now stream events from your applications that use the Kafka protocol into Event Hubs.

Next steps

To learn more about Event Hubs, visit these links: