Kafka Producer
Apache Kafka producer activity sends a record to a specified topic or channel in the Kafka cluster.
Settings
On the Settings tab, you can define the Apache Kafka connection and its details as given in the following table:
Input Settings
Condition Applicable | Field | Description |
---|---|---|
N/A | Headers | Header record to be sent. Only String datatype value is supported. |
Applicable only when JSON is selected in the Value Serializer field on the Settings tab. | Schema for JSON value | The JSON schema for the Apache Kafka record value. |
Applicable only when Avro is selected in the Value Serializer field on the Settings tab. | Schema for Avro Value |
The Avro schema for the Apache Kafka record value. Depending on the Subject and Version selected, the schema is displayed here. |
Input
Condition Applicable | Field | Description |
---|---|---|
N/A | topic | Name of the topic. |
N/A | partition | Partition number of the record to be sent. |
N/A | key | Optional key value. |
Applicable only when String is selected in the Value Serializer field. | stringValue | String value to be sent. |
Applicable only when JSON is selected in the Value Serializer field. | jsonValue | Data structure based on JSON schema that you have configured on the Input Settings tab. |
Applicable only when Avro is selected in the Value Serializer field. | avroData | Data structure based on Avro schema that you have configured on the Input Settings tab. |
N/A | headers | Header value to be sent. |
Copyright © Cloud Software Group, Inc. All rights reserved.