Quickstart: Create an event hub using Azure portal
Azure Event Hubs is a Big Data streaming platform and event ingestion service, capable of receiving and processing 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.
To complete this quickstart, make sure that you have:
- Azure subscription. If you don't have one, create a free account before you begin.
- Visual Studio 2017 Update 3 (version 15.3, 26730.01) or later.
- .NET Standard SDK, version 2.0 or later.
Create a resource group
A resource group is a logical collection of Azure resources. All resources are deployed and managed in a resource group. Do the following to create a resource group:
- Sign in to the Azure portal.
In the left navigation, click Resource groups. Then click Add.
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.
In Subscription, click the name of the Azure subscription in which you want to create the resource group.
Select a geographic location for the resource group.
Create an Event Hubs namespace
An Event Hubs namespace provides a unique scoping container, referenced by its fully qualified domain name, in which you create one or more event hubs. To create a namespace in your resource group using the portal, do the following actions:
In the Azure portal, and click Create a resource at the top left of the screen.
Click Internet of Things, and then click Event Hubs.
In Create namespace, enter a namespace name. The system immediately checks to see if the name is available.
After making sure the namespace name is available, choose the pricing tier (Basic or Standard). Also, choose an Azure subscription, resource group, and location in which to create the resource.
Click Create to create the namespace. You may have to wait a few minutes for the system to fully provision the resources.
Select Alerts, and then select the deployment with the same name as the name of event hub namespace.
Select your event hub namespace from the list of resources created in the deployment.
On the Event Hubs Namespace page, select Shared access policies, and then click RootManageSharedAccessKey.
Click the copy button to copy the RootManageSharedAccessKey connection string to the clipboard. Save this connection string in a temporary location, such as Notepad, to use later.
Create an event hub
To create an event hub within the namespace, do the following actions:
On the Event Hubs Namespaces page, select click Event Hubs.
At the top of the window, click + Event Hub.
Type a name for your event hub, then click Create.
Congratulations! You have used the portal to create an Event Hubs namespace, and an event hub within that namespace.
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 the following tutorials: