Skip to content

Latest commit

 

History

History
105 lines (70 loc) · 6.83 KB

event-hubs-create.md

File metadata and controls

105 lines (70 loc) · 6.83 KB
title description ms.topic ms.date
Azure Quickstart - Create an event hub using the Azure portal
In this quickstart, you learn how to create an Azure event hub using Azure portal.
quickstart
06/23/2020

Quickstart: Create an event hub using Azure portal

Azure Event Hubs is a Big Data streaming platform and event ingestion service that can receive and process millions of events per second. Event Hubs can process and store events, data, or telemetry produced by distributed software and devices. Data sent to an event hub can be transformed and stored using any real-time analytics provider or batching/storage adapters. For detailed overview of Event Hubs, see Event Hubs overview and Event Hubs features.

In this quickstart, you create an event hub using the Azure portal.

Prerequisites

To complete this quickstart, make sure that you have:

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. Then select Add.

    Resource groups - Add button

  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.

    Resource group - create

  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, and select Create a resource at the top left of the screen.

  2. Select All services in the left menu, and select star (*) next to Event Hubs in the Analytics category. Confirm that Event Hubs is added to FAVORITES in the left navigational menu.

    Search for Event Hubs

  3. Select Event Hubs under FAVORITES in the left navigational menu, and select Add on the toolbar.

    Add button

  4. 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 the pricing tier (Basic or Standard). To learn about some of the differences between basic and standard tiers, see Event Hubs pricing, Differences between tiers, and Quotas and limits.

    6. Leave the throughput units settings as it is. Throughput units are pre-purchased units of capacity. To learn about throughput units, see Event Hubs scalability.

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

      Create an event hub namespace

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

      Review + create page

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

      Deployment complete - go to resource

    10. Confirm that you see the Event Hubs Namespace page similar to the following example:

      Home page for the namespace

      [!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 Event Hubs Namespace page, select Event Hubs in the left menu.

  2. At the top of the window, select + Event Hub.

    Add Event Hub - button

  3. Type a name for your event hub, then select Create.

    Create event hub

    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 the maximum limits for this setting, see Quotas and limits.

  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.

    Event hub created

Next steps

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: