Apache Kafka · Arazzo Workflow
Apache Kafka Decommission a Topic
Version 1.0.0
Confirm the topic, check for active consumer groups and bound ACLs, then delete it.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen SourcePub-SubArazzoWorkflows
Provider
Workflows
decommission-topic
Pre-flight a topic deletion against consumers and ACLs, then delete it.
Records the topic's shape, checks for active consumer groups and bound ACLs, deletes the topic, and verifies its removal from the cluster.
1
confirmTopic
getTopic
Confirm the topic exists and record its partitioning and replication for the decommission record. An internal topic showing up here is a signal to stop, because deleting one breaks the cluster itself.
2
recordPartitions
listPartitions
Record the partition and replica layout before deletion, since it is the only detailed description of the topic that will survive it.
3
checkConsumerGroups
listConsumerGroups
List the consumer groups on the cluster so an active consumer of this topic can be found before its stream disappears underneath it.
4
checkBoundAcls
searchAcls
Surface the ACLs bound to topic resources on the cluster so the grants left behind by this topic are known and can be cleaned up deliberately.
5
deleteTopic
deleteTopic
Delete the topic. This destroys every record it holds across all partitions and cannot be undone.
6
confirmRemoved
listTopics
List the cluster's topics to confirm the deletion took effect rather than assuming it from the 204.