Apache Kafka · Arazzo Workflow
Apache Kafka Provision a Topic and Produce a Record
Version 1.0.0
Resolve the cluster, create a topic with explicit partitioning, read it back, and produce a first record.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen-SourcePub-SubArazzoWorkflows
Provider
Workflows
provision-topic-and-produce
Create a Kafka topic and verify it by producing a record to it.
Resolves the cluster, provisions a topic with the requested durability settings, confirms it, and writes a first record.
1
resolveCluster
List the clusters behind the REST Proxy and take the first cluster id, so the rest of the flow does not depend on a hardcoded cluster identifier.
2
createTopic
Create the topic with an explicit partition count, replication factor, and retention policy rather than relying on broker defaults or on auto-topic creation, which produces single-partition unreplicated topics.
3
confirmTopic
Read the topic back from the broker to confirm the partitioning and replication that was actually applied, and that the topic is not internal.
4
produceFirstRecord
Produce a first record as a JSON key and value. A zero error_code in the response, together with the assigned partition and offset, proves the topic is writable.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.