Skip to main content

KAFKA::PRODUCER

Establish connection to Kafka Producer.

Syntax

resources:
<resource-id>:
type: KAFKA::PRODUCER
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:
kafkaProducer:
type: KAFKA::PRODUCER
props:
bootstrapServers: "localhost:9092,localhost:9093"