Kafka Producer¶
Kafka Producer publishes a workflow message to a Kafka topic. Use it when a completed step needs to notify another service or hand work to an asynchronous consumer.
- Category: Processing
- Purpose: Publishes a message to a Kafka topic
- Inputs:
input- Message content - Outputs:
output- Delivery report containing topic, partition, and offset - Configuration:
- Credential: Kafka connection (required)
- Topic: Destination topic (required)
- Message: Content to publish (required)
- Key: Message key. Messages sharing a key land in the same partition and keep their order — use a customer or entity id when sequence matters
- Header Key / Header Value: A single header pair attached to the message
- Acks: Default off. Waits for Kafka to confirm the write. Enable for critical data
- Compression: Default off. Compresses the message, which helps with large payloads
- JSON Encode: Default off. Wraps non-object values as valid JSON. Leave off when the message is already JSON
- Timeout (ms): Default 30000