Produce
kafka.produce
ActionChat & messagingconnection required
Calls the Kafka REST Proxy POST /topics/{topic}.
Produce a JSON record to a Kafka topic via the Confluent REST Proxy.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Apache Kafka
- Secret shape
- blank, or {"username", "password"} for the REST Proxy
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
topic Topic name. Supports {{ }}. | string | Yes | — | — | — |
value Record value (JSON, or any value). | object | Yes | — | — | — |
key Optional message key. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
topic | string | — |
partition | number | — |
offset | number | — |
{
"offset": 0,
"ok": false,
"partition": 0,
"topic": ""
}Related Apache Kafka nodes
See Produce run in a workflow.
In a technical demo we add the Apache Kafka connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.