# Eventhub Publisher

All component configurations are classified broadly into 3 section

* ​[​Basic Information​](/data-pipeline-1/components/component-base-configuration.md)​
* Meta Information
* ​[Resource Configuration​](/data-pipeline-1/components/resource-configuration.md)​

*Please follow the steps given in the walk-through to configure the Eventhub Publisher component.*

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FFJZpmDBUpzbWM6atJoDo%2FBDB_%20Decision%20Platform%20-%20Google%20Chrome%202023-03-24%2014-54-52%20(online-video-cutter.com).mp4?alt=media&token=8521d73f-5fe1-439f-a41b-ec6ae48053bd>" %}
Configuring the EventGrid Publisher component
{% endembed %}

## **Configuring the Meta Information tab of Eventhub Publisher**

**There are two read using methods:**&#x20;

1. **Connection String**
2. **Principal Secret**

### Read using Connection String

<figure><img src="/files/JtfbmMrfkqNeFGqvAmnG" alt=""><figcaption><p>Read using connection string</p></figcaption></figure>

* **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.
* **Publisher namespace:** It is a logical entity that is used to group related publishers and manage access control to EventHubs within the namespace.

### Read using Principal Secret

<figure><img src="/files/l70B7NPUDTDyHeWNWUr3" alt=""><figcaption><p>Read using principal secret</p></figcaption></figure>

* **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 publisher. This can be found in the Azure portal under the "App registrations" section.&#x20;
* **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 publisher.&#x20;
* **Client secret:** The secret value that is associated with the Azure AD application and that will be used to authenticate the publisher.&#x20;
* **Consumer group:** It is a logical grouping of event producer(publisher) 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.&#x20;
* **Checkpoint Location:** It is a location in the event stream that represents the last event that has been successfully processed by the publisher.&#x20;
* **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.&#x20;
* **Publisher namespace:** It is a logical entity that is used to group related publishers and manage access control to EventHubs within the namespace.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bdb.ai/data-pipeline-1/components/producers/eventhub-publisher.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
