Skip to main content
Version: 2.1

Kafka Nodes

Apache Kafka is a distributed streaming platform widely used for event streaming, log aggregation, and real-time data pipelines. MaestroHub provides a Produce node so you can send messages to Kafka topics within your pipelines.

Configuration Quick Reference

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the connection profile, function, configure function parameters with expression support, and optionally override timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode description, maximum execution time, retry behavior on timeout or failure, and error handling strategy. All execution settings default to pipeline-level values.
Kafka Produce node configuration

Kafka Produce Node

Kafka Produce Node

Produce messages to Kafka topics with key-based partitioning, custom headers, and dynamic payloads.

Supported Function Types:

Function NamePurposeCommon Use Cases
ProduceSend messages to Kafka topics with key, payload, headers, and optional partition targetingEvent streaming, log forwarding, data pipeline ingestion, inter-service messaging

How It Works

When the pipeline executes, the Produce node:

  1. Connects to the Kafka cluster using the selected connection profile
  2. Serializes the message with the configured key, payload, and headers
  3. Sends the message to the target topic (with optional partition targeting)
  4. Returns delivery confirmation including partition and offset of the written message

Configuration

FieldWhat you chooseDetails
ConnectionKafka connection profileSelect a pre-configured Kafka connection from your connection library
FunctionProduce functionChoose a Kafka Produce function that defines the topic, key, payload, and headers
Function ParametersMessage valuesConfigure dynamic values for topic, key, payload, and headers using expressions or constants

For detailed function configuration options including partitioning strategies and header formatting, see the Kafka Produce Function documentation.

Looking for event-driven pipeline triggers?

If you want to automatically start a pipeline when Kafka messages arrive (rather than produce within an already-running pipeline), use the Kafka Trigger Node instead.