Software Engineering :: Cloud :: Microsoft Azure :: Event Hubs :: Training :: Creating an EventHub
⪼ Made with 💜 by Polyglot.
- In the Azure Portal, select NEW, type Event Hubs, and then select Event Hubs from the resulting search. Then select Create.
- Provide a name for the event hub, and then create a resource group. Specify xx-name-eh and xx-name-rg respectively,
XX-represents you initials to ensure uniqueness of the Event Hub name and Resource Group name. - Click the checkbox to Pin to the dashboard, then select the Create button.
- After the deployment is complete, click the xx-name-eh event hub on the dashboard.
- Under Entities, select Event Hubs.
- To create the event hub, select the + Event Hub button. Provide the name socialstudy-eh, then, select Create.
- To grant access to the event hub, we need to create a shared access policy. Select the socialstudy-eh event hub when it appears, and then, under Settings, select Shared access policies.
- Under Shared access policies, create a policy with MANAGE permissions by selecting + Add. Give the policy the name of xx-name-eh-sap, check MANAGE, and then select Create.
- Select you new policy after it has been created, and then, select the copy button for the CONNECTION STRING - PRIMARY KEY entity.
- Paste the CONNECTION STRING - PRIMARY KEY entity into Notepad (this is needed later in the excercise).
- Leave all windows open.