Eventhub Subscriber

EventHub subscriber typically consumes event data from an EventHub by creating an event processor client that reads the event data from the EventHub.

All component configurations are classified broadly into the following sections:

Follow the provided demonstration to configure the Eventhub Subscriber component.

Configuring meta information of EventHub Subscriber

There are two read using methods:

  1. Connection String

  2. Principal Secret

Read using connection string

  • Connection String: It is a string of parameters that are used to establish a connection to an Azure EventHub

  • Consumer Group: It is a logical grouping of event consumers (subscribers) that read and process events from the same partition of an event hub.

  • EventHub Name: It refers to the specific Event Hub within the Event Hubs namespace to which data is being sent or received.

  • Checkpoint Location: It is a location in the event stream that represents the last event that has been successfully processed by the subscriber.

  • Enqueued time: It indicates the time when the event was added to the partition, which is typically the time when the event occurred or was generated.

  • Subscriber namespace: It is a logical entity that is used to group related subscribers and manage access control to EventHubs within the namespace.

Read using Principal Secret

  • Client ID: The ID of the Azure AD application that has been registered in the Azure portal and that will be used to authenticate the subscriber. This can be found in the Azure portal under the "App registrations" section.

  • Tenant ID: The ID of the Azure AD tenant that contains the Azure AD application and service principal that will be used to authenticate the subscriber.

  • Client secret: The secret value that is associated with the Azure AD application and that will be used to authenticate the subscriber.

  • Consumer group: It is a logical grouping of event consumers (subscribers) that read and process events from the same partition of an event hub.

  • EventHub Name: It refers to the specific Event Hub within the Event Hubs namespace to which data is being sent or received.

  • Checkpoint Location: It is a location in the event stream that represents the last event that has been successfully processed by the subscriber.

  • Enqueued time: It indicates the time when the event was added to the partition, which is typically the time when the event occurred or was generated.

  • Subscriber namespace: It is a logical entity that is used to group related subscribers and manage access control to EventHubs within the namespace.

Last updated