Apache Kafka · Arazzo Workflow
Apache Kafka Grant a Principal Access to a Topic
Version 1.0.0
Resolve the cluster, confirm the topic, audit existing ACLs, grant read access, and verify the grant.
View Spec
View on GitHub
Distributed SystemsEvent StreamingMessagingOpen SourcePub-SubArazzoWorkflows
Provider
Workflows
grant-topic-access
Create and verify a topic READ ACL for a principal.
Confirms the topic, reviews existing topic ACLs, grants the principal read access, and verifies the resulting ACL set.
1
resolveCluster
listClusters
Resolve the cluster id so the ACL is written against the cluster the proxy is actually fronting.
2
confirmTopic
getTopic
Confirm the topic exists before writing an ACL against its name. Kafka accepts ACLs for topic names that do not exist, so a typo here would silently produce a grant that never takes effect.
3
auditExistingAcls
searchAcls
Audit the ACLs already bound to topic resources on this cluster, so the new grant is added with full knowledge of what access exists today.
4
createAcl
createAcls
Create the ACL binding the principal to the topic for the requested operation.
5
verifyAcl
searchAcls
Re-read the topic ACLs and confirm the grant is present, so the authorization change is proven by the cluster rather than assumed from a 201.