Kafka Consumer Trigger
Apache Kafka Consumer Trigger receives records from specified topic in the Apache Kafka cluster.
Trigger Settings
On the Settings tab, you can define the Apache Kafka connection and its details as given in the following table:
Output Settings
Condition Applicable | Field | Description |
---|---|---|
N/A | Headers | Record headers to be received. Only String datatype value is supported. |
Applicable only when JSON is selected in the Value Serializer field on the Trigger 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 Trigger 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. |
Output
Condition Applicable | Field | Description |
---|---|---|
Applicable only when JSON is selected in the Value Serializer field. | jsonValue | Data structure based on JSON schema that you have configured in the Output Settings section. |
Applicable only when Avro is selected in the Value Serializer field. | avroData | Data structure based on Avro schema that you have configured in the Output Settings section. |
N/A | partition | Partition number of the record |
N/A | offset | Offset of the record |
N/A | topic | Name of the topic |
N/A | key | Key value |
Applicable only when String is selected in the Value Deserializer field on the Settings tab. | stringValue | String value to be received |
N/A | headers | Header value to be received |
Copyright © Cloud Software Group, Inc. All rights reserved.