KAFKA::CONSUMER
Establish connection to Kafka Consumer.
Syntax
resources:
<resource-id>:
type: KAFKA::CONSUMER
props:
bootstrapServers: <bootstrapServers>
Properties
Property | Description | Type |
---|---|---|
<resource-id> | Unique identifier for the resource | string |
type | Type of the resource | string |
props | Properties specific to this resource. Refer to props section for more details. | object |
props
Property | Description | Required |
---|---|---|
bootstrapServers | Comma separated list of Kafka brokers | true |
Example
resources:
kafkaConsumer:
type: KAFKA::CONSUMER
props:
bootstrapServers: "localhost:9092,localhost:9093"