> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-pipeline-5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-pipeline-5/getting-started/pipeline-workflow-editor/pipeline-toolbar/event-panel.md).

# Event Panel

The user can access the ***Event Panel*** to create a new Event. We have two options in the Toggle Event Panel:

1. **Private (Event/ Kafka Topic)**
2. **Data Sync**

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/5euyVHq2amIArR9YiMcJ/image.png" alt=""><figcaption><p>The Toggle Event Panel</p></figcaption></figure>

### **Private (Event)**&#x20;

The user can create an Event (Kafka Topic) that can be used to connect two pipeline components.

* Navigate to the ***Pipeline Editor*** page.
* Click the ***Event Panel*** icon.     &#x20;

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/mhObGOo65guifBYRsKwI/image.png" alt=""><figcaption></figcaption></figure>

* The ***Event*** panel opens.
* Click the ***Add New Event*** icon.

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/9XzuCXtZUBPuQZsmfRDP/image.png" alt=""><figcaption><p>Accessing the Add New Event icon from the Event panel</p></figcaption></figure>

* The ***New Event*** dialog box opens.
* Enable the Event Mapping option to map the Event.
* Provide the required information.
  * Slide the given button to enable the event mapping.
  * Provide a display name for the event (A default name based on the pipeline name appears for the Event).
  * Select the Event Duration from the drop-down menu (It can be set from 4 to 168 hours as per the given options).
  * Number of partitions (You can choose out of 1 to 50).
  * Number of outputs (You can choose out of 1-3) (The maximum number of outputs must not exceed the no. of Partition).
  * Enable the ***Is Failover?*** option if you wish to create a failover Event.​​
* Click the ***Add Event*** option to save the new Event.

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/GIC1dKkDGUyr3kT4NvBi/image.png" alt=""><figcaption></figcaption></figure>

* A confirmation message appears.
* The new Event gets created and added to the ***Event Panel.***

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/kdYLAXeWk7BxsmIxRnXo/image.png" alt=""><figcaption></figcaption></figure>

* Drag and drop the ***Event*** from the ***Event Panel*** to the workflow editor.

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/RkuN5oVmfwR1lAIiYjJP/image.png" alt=""><figcaption></figcaption></figure>

* You can drag a pipeline component from the [***Component Panel.***](https://docs.bdb.ai/7.6/data-pipeline/getting-started/pipeline-workflow-editor/component-panel)​
* Connect the dragged component to the dragged ***Event*** to create a pipeline flow of data.

<figure><img src="https://content.gitbook.com/content/6ZP8JhQPMmuTgMyLMcCU/blobs/faFBj9M2uaE9GlNJwhoz/image.png" alt=""><figcaption></figcaption></figure>

### **Data Sync**

The user can directly read the data with the reader and write to a Data Sync.

* The user can add a new Data Sync from the toggle event panel to the workflow editor by clicking on ‘+’ icon.
* Specify the display name and connection id and click on save.
* Drag and drop the Data Sync from event panel to workflow editor.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the* [***Events \[Kafka and Data Sync\] page***](/data-pipeline-5/getting-started/homepage/create/creating-a-new-pipeline/connecting-components/events-kafka-and-data-sync.md) *for more details on the **DB Sync** topic provided under the Connection Components section of this document.*
{% endhint %}
