# 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://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2FRiFpsEfDFZzIm8bMnyAj%2Fimage.png?alt=media&#x26;token=aae232cf-8558-4ad1-b2cd-02bc0a2f27d5" 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://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2FewLR57JAs0wI6jC9k869%2Fimage.png?alt=media&#x26;token=93faa8e5-7a87-4f7a-8898-9a3ba8f4d0b1" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2F0TwYKbgT08Z4jVrrC4LB%2Fimage.png?alt=media&#x26;token=3cdfb0eb-f33d-4656-b0e6-fdbf5265bec2" 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://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2F6BMOvuOwG1XiV8LxEf6g%2Fimage.png?alt=media&#x26;token=58dc72a7-2239-4d8c-8922-4ff7ba5af2df" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2FrgjcvEGJ03Wexz8DzIFF%2Fimage.png?alt=media&#x26;token=9214754f-dfd1-404e-9d4e-85883b47f92e" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2FAQpU1u9SBpI1u6WquEOC%2Fimage.png?alt=media&#x26;token=37674c02-da79-4db4-a199-522a5f91962d" 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://3157314867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmyGSlDvDj86v7eh3RHM%2Fuploads%2FmpsODgxvHgw8Ar0XedsH%2Fimage.png?alt=media&#x26;token=5a35d595-6f6e-4e39-8ef3-87bf95763fc8" 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**_](../../homepage/create/creating-a-new-pipeline/connecting-components/events-kafka-and-data-sync) _for more details on the **DB Sync** topic provided under the Connection Components section of this document._
{% endhint %}
