Skip to content

Kafka

Publish events to Kafka/Redpanda clusters.

Messaging Enterprise edition binary json raw

output:
kafka:
bootstrap-servers: ""
JSON
{
"output": {
"kafka": {
"bootstrap-servers": ""
}
}
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Advanced
Field Type Required Description
global-options map (string) Additional librdkafka producer configuration.
topic-options map (string) Topic level overrides forwarded to librdkafka.
Batching
Field Type Required Description
batch Batch Logical batching hints shared with other outputs.
Connection
Field Type Required Description
bootstrap-servers comma-delimited-strings (string) Comma separated bootstrap servers.
Examples: one,two,three
client-id string Optional producer client identifier.
Partitioning
Field Type Required Description
partitioner Partitioner Partitioning strategy for the producer.
Allowed values: round-robin, hash-key, explicit
key-field field (string) Event field containing message key (used for partitioning).
Examples: data_field
key-pointer json-pointer (string) JSON pointer to message key.
key-expression string Expression used to compute message key.
partition-field field (string) Event field providing explicit partition.
Examples: data_field
partition-pointer json-pointer (string) JSON pointer providing explicit partition.
partition-value string Static partition value when using explicit partitioner.
Payload
Field Type Required Description
topic string Static topic name.
topic-field field (string) Event field containing the target topic.
Examples: data_field
topic-pointer json-pointer (string) JSON pointer resolving to target topic.
input-field field (string) Optional event field to treat as payload instead of entire event.
Examples: data_field
headers map (string) Message headers to attach to each record.
payload Payload Encoding strategy for message payloads.
Allowed values: json, raw, avro-bridge
avro Avro Schema registry configuration required when payload=avro-bridge.
Performance
Field Type Required Description
linger-ms number (integer) Linger time before flushing a batch (ms).
Examples: 42, 1.2e-10
message-timeout-ms number (integer) Timeout waiting for delivery reports (ms).
Examples: 42, 1.2e-10
compression Compression Compression codec used by the producer.
Allowed values: none, gzip, snappy, lz4, zstd
Reliability
Field Type Required Description
retry Retry Retry policy for failed deliveries.
acks Acks Acknowledgement requirement.
Allowed values: none, leader, all
idempotent boolean (bool) Enable Kafka idempotent producer mode.
Default: false
max-in-flight number (integer) Maximum in-flight requests per connection (relevant for idempotency).
Examples: 42, 1.2e-10
Security
Field Type Required Description
auth Auth Authentication and TLS configuration.
Field Type Required Description
fixed-size number (integer) maximum number of events in an output batch.
Examples: 42, 1.2e-10
max-bytes number (integer) Close the batch before adding an event that would make the serialized request payload exceed this many bytes.
Examples: 42, 1.2e-10
mode Mode If ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeout time-interval (string) interval after which the batch is sent, to keep throughput going (default 100ms).
Default: 100ms
Examples: 500ms, 2h
header multiline-text (string) put a header line before the batch.
footer multiline-text (string) put a header line after the last line of the batch.
use-document-marker boolean (bool) Enrich the job metadata with a document marker (for document handling in batch mode).
Default: false
wrap-as-json boolean (bool) Format the output batch as a JSON array.
Default: false
Field Type Required Description
url url (string) Examples: https://example.com/path
username string
password string
access-token string
subject-suffix string Optional suffix appended to subject names (e.g. -value).
use-latest boolean (bool) When true, fetch the latest compatible schema instead of an explicit version.
Default: false
Field Type Required Description
strategy Strategy Backoff strategy to use (default exponential).
Allowed values: exponential, linear, fixed
base string Base delay before retrying (e.g. “200ms”).
max string Maximum delay between retries.
jitter boolean (bool) Whether to add jitter to retry delays.
Default: false
Field Type Required Description
max-attempts number (integer) Maximum attempts before giving up.
Examples: 42, 1.2e-10
forever boolean (bool) Retry indefinitely until cancelled.
Default: false
backoff Backoff Backoff strategy configuration.
Field Type Required Description
mechanism Mechanism Allowed values: plain, scram-sha256, scram-sha512, o-auth-bearer
username string
password string
token string
token-command string
extensions map (string)
Field Type Required Description
ca-certificate string
client-certificate string
client-key string
insecure-skip-verify boolean (bool) Default: false
Field Type Required Description
sasl Sasl
tls Tls
config map (string) Additional librdkafka configuration forwarded verbatim.
Option Value
option.name value

Value format: templated-text.

Topic option Value
option.name value

Value format: templated-text.

Header Value
Header-Name value

Value format: templated-text.

Extension Value
key value

Value format: templated-text.

Option Value
option.name value

Value format: templated-text.

Value Aliases Name Description
fixed fixed
document document
Value Aliases Name Description
round-robin round-robin
hash-key hash-key
explicit explicit
Value Aliases Name Description
json json
raw raw
avro-bridge avro-bridge
Value Aliases Name Description
none none
gzip gzip
snappy snappy
lz4 lz4
zstd zstd
Value Aliases Name Description
exponential exponential
linear linear
fixed fixed
Value Aliases Name Description
none none
leader leader
all all
Value Aliases Name Description
plain plain
scram-sha256 scram-sha256
scram-sha512 scram-sha512
o-auth-bearer o-auth-bearer