Skip to main content

KAFKA::CONSUMER

Establish connection to Kafka Consumer.

Syntax

resources:
<resource-id>:
type: KAFKA::CONSUMER
props:
bootstrapServers: <bootstrapServers>

Properties

PropertyDescriptionType
<resource-id>Unique identifier for the resourcestring
typeType of the resourcestring
propsProperties specific to this resource. Refer to props section for more details.object

props

PropertyDescriptionRequired
bootstrapServersComma separated list of Kafka brokerstrue

Example

resources:
kafkaConsumer:
type: KAFKA::CONSUMER
props:
bootstrapServers: "localhost:9092,localhost:9093"