Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference
Overview
Getting Started
Pipeline Authoring
    Pipeline Spec OverviewConnections
    Sources
    Transforms
    Destinations
      DestinationsFile System DestinationsObject Storage DestinationsJDBC DestinationsNoSQL DestinationsStream DestinationsAPI Destinations
    Execution Settings
Execution
Deployment
Troubleshooting
Examples
Destinations

Stream Destinations

Stream destinations write to Kafka topics, Redis streams, or ActiveMQ queues and topics.

Providers: kafka | redis | activemq

Output fields

Every output in this type carries these fields; provider and format values live under options.

FieldTypeDefaultNotes
name (required)string--
from (required)string--
mode (required)append or update-Streaming output mode. Kept for backward compatibility if existing specs use output.mode.

Minimal example

A complete stream destination with one output, written for provider kafka:

Code
destinations: - name: orders type: stream provider: kafka # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: url: <host>:9092 outputs: - name: orders_output from: <from> mode: append topic: <topic>

Providers

kafka

An example for provider kafka:

Code
destinations: - name: orders type: stream provider: kafka # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: url: <host>:9092 outputs: - name: orders_output from: <from> mode: append topic: <topic>

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
url (required)string-Kafka bootstrap servers, for example kafka:9092 or host1:9092,host2:9092.

auth is one of:

PLAINTEXT

FieldTypeDefaultNotes
security_protocol (required)PLAINTEXT-Kafka security protocol.

SSL

FieldTypeDefaultNotes
security_protocol (required)SSL-Kafka security protocol.
ssl_truststore_locationstring-Path to Kafka SSL truststore.
ssl_truststore_passwordstring-Password for Kafka SSL truststore.

SASL_PLAINTEXT

FieldTypeDefaultNotes
security_protocol (required)SASL_PLAINTEXT-Kafka security protocol.
sasl_mechanism (required)PLAIN or SCRAM-SHA-256 or SCRAM-SHA-512-Kafka SASL mechanism.
user (required)string-Kafka SASL username.
password (required)string-Kafka SASL password.

SASL_SSL

FieldTypeDefaultNotes
security_protocol (required)SASL_SSL-Kafka security protocol.
sasl_mechanism (required)PLAIN or SCRAM-SHA-256 or SCRAM-SHA-512-Kafka SASL mechanism.
user (required)string-Kafka SASL username.
password (required)string-Kafka SASL password.
ssl_truststore_locationstring-Path to Kafka SSL truststore.
ssl_truststore_passwordstring-Password for Kafka SSL truststore.

Settings options

settings.options:

FieldTypeDefaultNotes
acks0 or 1 or all or -1-Kafka producer acknowledgment mode. Maps to kafka.acks.
compression_typenone or gzip or snappy or lz4 or zstd-Kafka producer compression type. Maps to kafka.compression.type.
client_idstring-Kafka producer client ID. Maps to kafka.client.id.
request_timeout_msinteger-Kafka producer request timeout in milliseconds. Maps to kafka.request.timeout.ms.
delivery_timeout_msinteger-Kafka producer delivery timeout in milliseconds. Maps to kafka.delivery.timeout.ms.
linger_msinteger-Kafka producer linger time in milliseconds. Maps to kafka.linger.ms.
batch_sizeinteger-Kafka producer batch size in bytes. Maps to kafka.batch.size.

Output options

outputs[].options:

FieldTypeDefaultNotes
value_formatauto or json or message or valueautoControls how the outgoing Kafka value is produced. auto uses value if present, then message, otherwise serializes the whole row as JSON.
key_columnstring-Optional column name to use as Kafka message key.
include_headersboolean-Whether Kafka headers are included when supported by the sink path. Maps to includeHeaders.

redis

An example for provider redis:

Code
destinations: - name: orders type: stream provider: redis # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: url: <host>:6379 outputs: - name: orders_output from: <from> mode: append stream: <stream>

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
url (required)string-Redis host or redis://host.
authobject--
auth.passwordstring-Redis password.

Settings options

settings.options:

FieldTypeDefaultNotes
db_numinteger-Optional Redis database number. Minimum: 0.
max_pipeline_sizeinteger-Optional connector pipeline batch size. Minimum: 1.

Output options

outputs[].options:

FieldTypeDefaultNotes
value_formatauto or json or message or valueautoControls how the outgoing Redis value column is produced before writing through the Redis connector.

activemq

An example for provider activemq:

Code
destinations: - name: orders type: stream provider: activemq # Reuse a saved connection instead of the fields below: # connection_name: <name> settings: url: tcp://<host>:61616 outputs: - name: orders_output from: <from> mode: append queue: <queue>

Connection

Use settings.connection_name for a saved connection, or configure it inline:

FieldTypeDefaultNotes
url (required)string-ActiveMQ broker URL.
authobject--
auth.userstring--
auth.passwordstring--

Output options

outputs[].options:

FieldTypeDefaultNotes
value_formatauto or json or message or valueautoControls how rows are serialized before publishing to ActiveMQ. auto uses value/message column if available, otherwise serializes the full row as JSON.
batch_sizeinteger100Number of messages to send per partition batch. Minimum: 1.
persistentbooleantrueWhether messages are sent using persistent delivery mode.
time_to_live_msinteger0Optional JMS message time-to-live in milliseconds. Use 0 for no expiration. Minimum: 0.

Streaming query options

These apply to every output in a streaming pipeline:

FieldTypeDefaultNotes
output_modeappend or complete or updateappendOutput mode of the streaming query. append: only new rows; complete: full result table; update: only updated rows (since 2.0). Maps to outputMode.
trigger_intervalstring-Trigger interval for processing (e.g. '10 seconds', '1 minute'). When set, uses Trigger.ProcessingTime(interval). Maps to triggerInterval.
checkpoint_locationstring-Optional custom checkpoint directory. When not set, a default under /app/data/spark-checkpoints/ is used. Maps to checkpointLocation.
query_namestring-Name for the streaming query (for monitoring and debugging). Maps to queryName.

Related pages

  • Destinations
  • Connections
  • Pipeline Spec Overview
  • API Reference
Suggest edit
Last modified on November 26, 2026
NoSQL DestinationsAPI Destinations
On this page
  • Output fields
  • Minimal example
  • Providers
    • kafka
    • redis
    • activemq
  • Streaming query options
  • Related pages
YAML
YAML
YAML
YAML