Skip to main content

kafka

Latest Versionv1.0.0
Input Content TypeAny
Incurs Usage

Sending data to Kafka incurs usage costs after exceeding the free tier. See Golioth pricing for more information.

The kafka destination sends data to a Kafka cluster.

Parameters

ParameterTypeDescriptionRequired
brokers[]stringList of broker addresses.
topicstringThe name of the Kafka topic.
usernamestringThe username for authentication.
passwordstringThe password for authentication.
sasl_mechanismstringThe SASL authentication mechanism. Valid options include PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512.
info

SASL_SSL is always enabled, regardless of sasl_mechanism selected.

Example Usage

    destination:
type: kafka
version: v1
parameters:
brokers:
- my.kafka.broker.com:9092
topic: my-topic
username: pipelines-user
password: $KAKFA_PASSWORD
sasl_mechanism: PLAIN

Example Input

{
"temp": 32
}

Example Output

Output data will match input data exactly, regardless of content type. Message metadata will be encoded in event metadata headers.

{
"temp": 32
}