Message Format
The payload format depends on the source schema:- Structured data — When the schema contains regular typed columns, each row is serialized as a JSON object and sent as the message value.
- JSON or XML — When the schema contains a single
_jsonor_xmlfield, the raw string value is sent directly as the message value without additional wrapping.
Message Key
SetkeyField to the name of a column whose value should be used as the Kafka message key. Messages with the same key are routed to the same partition, preserving ordering for that key. If keyField is omitted, messages are distributed across partitions using the default partitioner.
Authentication
Connection details are retrieved from Vault using the secret name specified inkafkaProducerSecretName. When the secret carries both username and password, the destination authenticates to the Kafka cluster using SASL/PLAIN (SASL_PLAINTEXT); without them it connects unauthenticated. The secret contains:
Bootstrap Server Override
To override the bootstrap servers from the Vault secret on a per-pipeline basis, setoverrideBootstrapServers in the destination configuration.
Configuration Example
bootstrapServers, username, password) are configured globally in application.yaml via secrets.kafkaProducerSecretName. See Configuration Reference for Vault secret format.
