Skip to content

Kafka

Kafka (kafka)

Publish events to Kafka/Redpanda clusters.

Messaging binary json raw

Minimal example

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

Contents

Fields

FieldTypeRequiredDescription
bootstrap-servers Connectionhostname (string)Comma separated bootstrap servers.
Examples: example.com, localhost
retry ReliabilityRetryRetry policy for failed deliveries.
batch BatchingBatchLogical batching hints shared with other outputs.
client-id ConnectionstringOptional producer client identifier.
topic PayloadstringStatic topic name.
topic-field Payloadfield (string)Event field containing the target topic.
Examples: data_field
topic-pointer Payloadjson-pointer (string)JSON pointer resolving to target topic.
input-field Payloadfield (string)Optional event field to treat as payload instead of entire event.
Examples: data_field
headers Payloadmap (string)Message headers to attach to each record.
payload PayloadPayloadEncoding strategy for message payloads.
Allowed values: json, raw, avro-bridge
avro PayloadAvroSchema registry configuration required when payload=avro-bridge.
auth SecurityAuthAuthentication and TLS configuration.
acks ReliabilityAcksAcknowledgement requirement.
Allowed values: none, leader, all
idempotent Reliabilityboolean (bool)Enable Kafka idempotent producer mode.
max-in-flight Reliabilitynumber (integer)Maximum in-flight requests per connection (relevant for idempotency).
Examples: 42, 1.2e-10
linger-ms Performancenumber (integer)Linger time before flushing a batch (ms).
Examples: 42, 1.2e-10
message-timeout-ms Performancenumber (integer)Timeout waiting for delivery reports (ms).
Examples: 42, 1.2e-10
compression PerformanceCompressionCompression codec used by the producer.
Allowed values: none, gzip, snappy, lz4, zstd
partitioner PartitioningPartitionerPartitioning strategy for the producer.
Allowed values: round-robin, hash-key, explicit
key-field Partitioningfield (string)Event field containing message key (used for partitioning).
Examples: data_field
key-pointer Partitioningjson-pointer (string)JSON pointer to message key.
key-expression PartitioningstringExpression used to compute message key.
partition-field Partitioningfield (string)Event field providing explicit partition.
Examples: data_field
partition-pointer Partitioningjson-pointer (string)JSON pointer providing explicit partition.
partition-value PartitioningstringStatic partition value when using explicit partitioner.
global-options Advancedmap (string)Additional librdkafka producer configuration.
topic-options Advancedmap (string)Topic level overrides forwarded to librdkafka.

Reliability

Show fields
FieldTypeRequiredDescription
retryRetryRetry policy for failed deliveries.
acksAcksAcknowledgement requirement.
Allowed values: none, leader, all
idempotentboolean (bool)Enable Kafka idempotent producer mode.
max-in-flightnumber (integer)Maximum in-flight requests per connection (relevant for idempotency).
Examples: 42, 1.2e-10

Batching

Show fields
FieldTypeRequiredDescription
batchBatchLogical batching hints shared with other outputs.

Connection

Show fields
FieldTypeRequiredDescription
bootstrap-servershostname (string)Comma separated bootstrap servers.
Examples: example.com, localhost
client-idstringOptional producer client identifier.

Payload

Show fields
FieldTypeRequiredDescription
topicstringStatic topic name.
topic-fieldfield (string)Event field containing the target topic.
Examples: data_field
topic-pointerjson-pointer (string)JSON pointer resolving to target topic.
input-fieldfield (string)Optional event field to treat as payload instead of entire event.
Examples: data_field
headersmap (string)Message headers to attach to each record.
payloadPayloadEncoding strategy for message payloads.
Allowed values: json, raw, avro-bridge
avroAvroSchema registry configuration required when payload=avro-bridge.

Security

Show fields
FieldTypeRequiredDescription
authAuthAuthentication and TLS configuration.

Performance

Show fields
FieldTypeRequiredDescription
linger-msnumber (integer)Linger time before flushing a batch (ms).
Examples: 42, 1.2e-10
message-timeout-msnumber (integer)Timeout waiting for delivery reports (ms).
Examples: 42, 1.2e-10
compressionCompressionCompression codec used by the producer.
Allowed values: none, gzip, snappy, lz4, zstd

Partitioning

Show fields
FieldTypeRequiredDescription
partitionerPartitionerPartitioning strategy for the producer.
Allowed values: round-robin, hash-key, explicit
key-fieldfield (string)Event field containing message key (used for partitioning).
Examples: data_field
key-pointerjson-pointer (string)JSON pointer to message key.
key-expressionstringExpression used to compute message key.
partition-fieldfield (string)Event field providing explicit partition.
Examples: data_field
partition-pointerjson-pointer (string)JSON pointer providing explicit partition.
partition-valuestringStatic partition value when using explicit partitioner.

Advanced

Show fields
FieldTypeRequiredDescription
global-optionsmap (string)Additional librdkafka producer configuration.
topic-optionsmap (string)Topic level overrides forwarded to librdkafka.

Schema

Retry Fields

FieldTypeRequiredDescription
timeouttime-interval (string)timeout (e.g. 500ms, 2s etc. - default is 30).
Examples: 500ms, 2h
retriesnumber (integer)number of retries.
Examples: 42, 1.2e-10

Batch Fields

FieldTypeRequiredDescription
fixed-sizenumber (integer)maximum number of events in an output batch.
Examples: 42, 1.2e-10
modeModeIf ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeouttime-interval (string)interval after which the batch is sent, to keep throughput going (default 100ms).
Examples: 500ms, 2h
headermultiline-text (string)put a header line before the batch.
footermultiline-text (string)put a header line after the last line of the batch.
use-document-markerboolean (bool)Enrich the job metadata with a document marker (for document handling in batch mode).
wrap-as-jsonboolean (bool)Format the output batch as a JSON array.

Avro Fields

FieldTypeRequiredDescription
urlurl (string)Examples: https://example.com/path
usernamestring
passwordstring
access-tokenstring
subject-suffixstringOptional suffix appended to subject names (e.g. -value).
use-latestboolean (bool)When true, fetch the latest compatible schema instead of an explicit version.

Auth - Sasl Fields

FieldTypeRequiredDescription
mechanismMechanismAllowed values: plain, scram-sha256, scram-sha512, o-auth-bearer
usernamestring
passwordstring
tokenstring
token-commandstring
extensionsmap (string)

Auth - Tls Fields

FieldTypeRequiredDescription
ca-certificatestring
client-certificatestring
client-keystring
insecure-skip-verifyboolean (bool)

Auth Fields

FieldTypeRequiredDescription
saslSasl
tlsTls
configmap (string)Additional librdkafka configuration forwarded verbatim.

Headers Table

HeaderValue
Header-Namevalue

Value format: templated-text.

Auth - Sasl - Extensions Table

ExtensionValue
keyvalue

Value format: templated-text.

Auth - Config Table

OptionValue
option.namevalue

Value format: templated-text.

Global Options Table

OptionValue
option.namevalue

Value format: templated-text.

Topic Options Table

Topic optionValue
option.namevalue

Value format: templated-text.

Batch - Mode Options

ValueDescription
fixedFixed
documentDocument

Payload Options

ValueDescription
jsonJson
rawRaw
avro-bridgeAvro Bridge

Auth - Sasl - Mechanism Options

ValueDescription
plainPlain
scram-sha256Scram Sha256
scram-sha512Scram Sha512
o-auth-bearerO Auth Bearer

Acks Options

ValueDescription
noneNone
leaderLeader
allAll

Compression Options

ValueDescription
noneNone
gzipGzip
snappySnappy
lz4Lz4
zstdZstd

Partitioner Options

ValueDescription
round-robinRound Robin
hash-keyHash Key
explicitExplicit