Skip to main content

Kafka

:::info Required extra This connection requires the kafka extra. See Installation. :::

Test data in Kafka topics. Kafka support is currently considered experimental.

Server

servers:
- server: production
type: kafka
host: abc-12345.eu-central-1.aws.confluent.cloud:9092
topic: my-topic-name
format: json

Environment variables

VariableExampleDescription
DATACONTRACT_KAFKA_SASL_USERNAMExxxThe SASL username (key)
DATACONTRACT_KAFKA_SASL_PASSWORDxxxThe SASL password (secret)
DATACONTRACT_KAFKA_SASL_MECHANISMPLAINDefault PLAIN; also SCRAM-SHA-256, SCRAM-SHA-512