> For the complete documentation index, see [llms.txt](https://docs.selfuel.digital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.selfuel.digital/stream-processing-with-cortex/applications/connector-nodes-cluster/sink-nodes/kafka-sink.md).

# Kafka Sink

## Step 4 - Connection and Security Settings

### Kafka Servers List

Indicates a list of Kafka servers the Kafka sink should connect to. This list should be provided as comma-separated values

***e.g.*** `localhost:9092, localhost:9093`

| Default Value | Possible Data Type |
| ------------- | ------------------ |
|               | STRING             |

<div data-full-width="true"><figure><img src="https://1184018446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUPFHdhLeYWovl0V5F9g%2Fuploads%2F3vE0SMG0MMnEHpIUOejc%2Fsink_kafka_step4_mac.png?alt=media&amp;token=ea5566cb-ffca-4938-b6af-0124f175e579" alt=""><figcaption></figcaption></figure></div>

## Step 5 -  Worker and Connection Management

### Topic List

Indicates the list of topics the sink should subscribe to. This list should be provided as comma-separated values.

***e.g.*** `topic_one, topic_two`

| Default Value | Possible Data Type |
| ------------- | ------------------ |
|               | STRING             |

### Partition Number

Indicates the partition number within the specified topic. If no value is provided, events will be published to the default partition.

| Default Value | Possible Data Type |
| ------------- | ------------------ |
| 0             | STRING             |

### Unique Message Identifier

A unique identifier for messages published by the sink, allowing receivers to identify the source of a specific message.

| Default Value | Possible Data Type |
| ------------- | ------------------ |
| *null*        | STRING             |

### Message Key

The key contains the values that are used to maintain ordering within a Kafka partition.

| Default Value | Possible Data Type |
| ------------- | ------------------ |
| *null*        | STRING             |

<div data-full-width="true"><figure><img src="https://1184018446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUPFHdhLeYWovl0V5F9g%2Fuploads%2FOviC6anR69CcLEM7ajVU%2Fsink_kafka_step5_mac.png?alt=media&amp;token=730c9aa9-c64e-4e6c-bbaf-7b9b91a29b1b" alt=""><figcaption></figcaption></figure></div>

## Step 6 -  Request and Header Validation

### Binary Message Flag

A flag that is set ON to send binary events via the Kafka sink.

| Default Value | Possible Data Type |
| ------------- | ------------------ |
| OFF           | STRING             |

<div data-full-width="true"><figure><img src="https://1184018446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUPFHdhLeYWovl0V5F9g%2Fuploads%2FQNbRq0ybTS51IX8hl5Od%2Fsink_kafka_step6_mac.png?alt=media&amp;token=88b5d5ee-2671-44c5-915a-90d1f23b39d5" alt=""><figcaption></figcaption></figure></div>

## Step 7 - Advanced SSL/TLS Configurations

### Additional Kafka Configurations

Contains any other configurations for the consumer in key-value format. Some supported configurations can be exemplified as

***e.g***. Keystore Type: '`producer.type`' as key and '`async`' as value.

***e.g.*** Batch Size: '`batch.size`' as key and '`200`' as value.

| Default Value | Possible Data Type |
| ------------- | ------------------ |
|               | STRING             |

<div data-full-width="true"><figure><img src="https://1184018446-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUPFHdhLeYWovl0V5F9g%2Fuploads%2F1uFLR4C1xI6X47raoi6R%2Fsink_kafka_step7_mac.png?alt=media&amp;token=e242e4ee-3d8e-4b43-9246-c5ff4c324fc6" alt=""><figcaption></figcaption></figure></div>

## Step 8 - Preview

In Preview Step, you're provided with a concise summary of all the changes you've made to the Kafka Sink Node. This step is pivotal for reviewing and ensuring that your configurations are as intended before completing node setup.

* **Viewing Configurations**: Preview Step presents a consolidated view of your node setup.
* **Saving and Exiting**: Use the Complete button to save your changes and exit the node and return back to Canvas.
* **Revisions**: Use the Back button to return to any Step of modify node setup.

The Preview Step offers a user-friendly summary to manage and finalize node settings in Cortex.
