Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.74 KB

File metadata and controls

57 lines (37 loc) · 1.74 KB

Create an event hub

eventhubs/create-eventhub/README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create a resource group
  2. Create a namespace

Create the event hub

To create the event hub use the following command line:

  export EVENTHUBS_EVENTHUB=eventhubs-hub-$RANDOM

  az eventhubs eventhub create \
     --name $EVENTHUBS_EVENTHUB \
     --resource-group $RESOURCE_GROUP \
     --namespace-name $EVENTHUBS_NAMESPACE

Cleanup

Do NOT forget to remove the resources once you are done running the example.

Additional documentation

  1. Azure Event Hubs documentation
  2. Create an event hub

1m