# 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://363587200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuq3RSHHup7fjHYaspk7y%2Fuploads%2FCJqNeX1lfavxWOtfqbLT%2Fimage.png?alt=media&#x26;token=ee507e7c-e9f3-43c9-9e5e-2f55d2d9895c" 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.
