# Kafka Producer

In Apache Kafka, a "producer" is a client application or program that is responsible for publishing (or writing) messages to a Kafka topic.

A Kafka producer sends messages to Kafka brokers, which are then distributed to the appropriate consumers based on the topic, partitioning, and other configurable parameters.

**Please follow the below mentioned steps to configure the meta information of Kafka Producer:**

<figure><img src="https://content.gitbook.com/content/q2i9CKCFbySxr6jRoJfA/blobs/ye3daryTk15xbaX0nGyf/image.png" alt=""><figcaption><p>Kafka Producer Tasks</p></figcaption></figure>

* **Topic Name:** Specify topic name where user want to produce data.
* **Security Type:** Select the security type from drop down:
  * Plain Text
  * SSL
* **Is External:** User can produce the data to external Kafka topic by enabling **'Is External'** option. **‘Bootstrap Server’ and ‘Config’** fields will display after enable **'Is External'** option.
  * **Bootstrap Server:** Enter external bootstrap details.
  * **Config:** Enter configuration details.
* **Host Aliases:** In Apache Kafka, a host alias (also known as a hostname alias) is an alternative name that can be used to refer to a Kafka broker in a cluster. Host aliases are useful when you need to refer to a broker using a name other than its actual hostname.
  * **IP:** Enter the IP.
  * **Host Names:** Enter the host names.
