Adding Event Hubs to a Namespace
    • Dark
      Light
    • PDF

    Adding Event Hubs to a Namespace

    • Dark
      Light
    • PDF

    Article Summary

    #ServerlessTips - Azure Event Hubs
    Author: Steef-Jan Wiggers Azure MVP

    Event Hubs is a streaming and event ingestion service on the Microsoft Azure Platform capable of receiving and processing millions of events per second. The service will allow you to process and analyze the massive amounts of data produced by your connected devices and applications.

    In the previous tip around provisioning an Event Hub namespace you learned how to do that through the Azure Portal. The next step is to add one or more Event Hubs to the namespace. Through the overview tab you can click + Event Hub and a new pane will appear.

    Now you can name your Event Hub, specify the number of partitions, retention period in days, and whether or not you want Capture on or off.

    Adding Azure Event Hub

    The number of partitions for your hub is relates to the downstream parallelism required in consuming applications. Furthermore, that number (maximum of 32) relates to the number of concurrent readers you expect to have. Note that the number can only be set creating the hub. Subsequently, the retention period can be between 1 and 7 days and with the capture feature on you automatically enable delivering the streaming data in Event Hubs to an Azure Blob storage or Azure Data Lake Store account of choice, with the added flexibility of specifying a time or size interval.

    Adding Azure Event Hub to Namespace

    Once you have the configuration of the Event Hub ready you can create one. Based on your requirements you can create one or many Event Hubs, think about partitioning, and scalability, which are explained in other Event Hub tips.

    Event-hubs-1.png


    Was this article helpful?