Skip to content

Latest commit

 

History

History
101 lines (70 loc) · 8.52 KB

File metadata and controls

101 lines (70 loc) · 8.52 KB
title Create Azure Event Hubs instance Using Portal
description In this quickstart, you learn how to create an Azure Event Hubs namespace and an event hub in the namespace by using Azure portal.
ms.topic quickstart
ms.date 02/05/2026
ms.custom sfi-image-nochange

Quickstart: Create an event hub using Azure portal

In this quickstart, you create an Azure Event Hubs namespace and an event hub in the namespace by using the Azure portal.

Prerequisites

Create a resource group

A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group. To create a resource group:

  1. Sign in to the Azure portal.

  2. In the left navigation, select Resource groups, and then select Create.

    :::image type="content" source="./media/event-hubs-quickstart-portal/azure-resource-groups-create.png" alt-text="Screenshot showing the Resource groups page with the selection of the Create button." lightbox="./media/event-hubs-quickstart-portal/azure-resource-groups-create.png":::

  3. For Subscription, select the name of the Azure subscription in which you want to create the resource group.

  4. Type a unique name for the resource group. The system immediately checks to see if the name is available in the currently selected Azure subscription.

  5. Select a region for the resource group.

  6. Select Review + Create.

    :::image type="content" source="./media/event-hubs-quickstart-portal/create-resource-group-page.png" alt-text="Screenshot showing the Create a resource group page." lightbox="./media/event-hubs-quickstart-portal/create-resource-group-page.png":::

  7. On the Review + Create page, select Create.

Create an Event Hubs namespace

An Event Hubs namespace provides a unique scoping container, in which you create one or more event hubs. To create a namespace in your resource group using the portal, do the following actions:

  1. In the Azure portal, select All services in the left menu, and select Event Hubs in the Analytics category.

    :::image type="content" source="./media/event-hubs-quickstart-portal/azure-all-services-event-hubs.png" alt-text="Screenshot showing the selection of Event Hubs in the All services page." lightbox="./media/event-hubs-quickstart-portal/azure-all-services-event-hubs.png":::

  2. On the Event Hubs page, select Create on the toolbar.

    :::image type="content" source="./media/event-hubs-quickstart-portal/event-hubs-create-namespace.png" alt-text="Screenshot showing the selection of Create button on the Event hubs page." lightbox="./media/event-hubs-quickstart-portal/event-hubs-create-namespace.png":::

  3. On the Create namespace page, take the following steps:

    1. Select the subscription in which you want to create the namespace.

    2. Select the resource group you created in the previous step.

    3. Enter a name for the namespace. The system immediately checks to see if the name is available.

    4. Select a location for the namespace.

    5. Choose Basic for the pricing tier. If you plan to use the namespace from Apache Kafka apps, use the Standard tier. The basic tier doesn't support Apache Kafka workloads. To learn about differences between tiers, see Quotas and limits, Event Hubs Premium, and Event Hubs Dedicated articles.

    6. Leave the throughput units (for standard tier) or processing units (for premium tier) settings as it is. To learn about throughput units or processing units: Event Hubs scalability.

    7. Enable the Auto-inflate feature if you want Event Hubs to automatically increase the number of throughput units (TUs) to meet usage needs. Increasing TUs prevents throttling scenarios where data ingress or data egress rates exceed the rates allowed by the TUs assigned to the namespace. The Event Hubs service increases the throughput when load increases beyond the minimum threshold, without any requests failing with ServerBusy errors.

    8. Select Review + Create at the bottom of the page.

      :::image type="content" source="./media/event-hubs-quickstart-portal/create-event-hub-namespace.png" alt-text="Screenshot of the Create Namespace page in the Azure portal." lightbox="./media/event-hubs-quickstart-portal/create-event-hub-namespace.png":::

    9. On the Review + Create page, review the settings, and select Create. Wait for the deployment to complete.

  4. On the Deployment page, select Go to resource to navigate to the page for your namespace.

    :::image type="content" source="./media/event-hubs-quickstart-portal/deployment-complete.png" alt-text="Screenshot of the Deployment complete page with the link to resource.":::

  5. Confirm that you see the Event Hubs namespace page similar to the following example:

    :::image type="content" source="./media/event-hubs-quickstart-portal/event-hubs-namespace-overview.png" alt-text="Screenshot of the home page for your Event Hubs namespace in the Azure portal." lightbox="./media/event-hubs-quickstart-portal/event-hubs-namespace-overview.png":::

    [!NOTE] Azure Event Hubs provides you with a Kafka 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 supports Apache Kafka versions 1.0 and later. For more information, see Use Event Hubs from Apache Kafka applications.

Create an event hub

To create an event hub within the namespace, do the following actions:

  1. On the Overview page, select + Event hub on the command bar.

    :::image type="content" source="./media/event-hubs-quickstart-portal/create-event-hub-button.png" alt-text="Screenshot of the selection of Add event hub button on the command bar." lightbox="./media/event-hubs-quickstart-portal/create-event-hub-button.png":::

  2. Type a name for your event hub, then select Review + create.

    :::image type="content" source="./media/event-hubs-quickstart-portal/create-event-hub-basics-settings.png" alt-text="Screenshot of the Create event hub page." lightbox="./media/event-hubs-quickstart-portal/create-event-hub-basics-settings.png":::

    The partition count setting allows you to parallelize consumption across many consumers. For more information, see Partitions.

    The message retention setting specifies how long the Event Hubs service keeps data. For more information, see Event retention.

  3. On the Review + create page, select Create.

  4. You can check the status of the event hub creation in alerts. After the event hub is created, you see it in the list of event hubs.

    :::image type="content" source="./media/event-hubs-quickstart-portal/event-hub-list-view.png" alt-text="Screenshot showing the list of event hubs." lightbox="./media/event-hubs-quickstart-portal/event-hub-list-view.png":::

Related content

In this article, you created a resource group, an Event Hubs namespace, and an event hub. For step-by-step instructions to send events to (or) receive events from an event hub, see these tutorials: