$ kurkik kafka sync a.yaml b --acls --revoke --dry-run Sync a.yaml into b - Apache Kafka, cluster MkU3OEVBNTcwNTJENDM2Qk owns: the whole cluster - the document names no x-kurkik.kafka.server.topicPrefixes; access, as x-kurkik.kafka.server.acl declares it plan: Run one sync per cluster at a time: two at once each plan against a state the other is changing. changes (12) + grant ALLOW User:reporting READ on GROUP reporting acl (not set) -> ALLOW User:reporting READ on GROUP reporting + grant ALLOW User:analytics READ on TOPIC customers.updated acl (not set) -> ALLOW User:analytics READ on TOPIC customers.updated The cluster also holds DENY User:analytics READ on TOPIC customers.updated, and Kafka checks DENY first: until it is revoked (--revoke, when the document does not declare it) this grant changes nothing. + grant ALLOW User:audit DESCRIBE on TOPIC orders.created acl (not set) -> ALLOW User:audit DESCRIBE on TOPIC orders.created + grant ALLOW User:ops WRITE on TOPIC orders.created from 10.0.0.1 acl (not set) -> ALLOW User:ops WRITE on TOPIC orders.created from 10.0.0.1 + grant ALLOW User:billing READ on TOPIC payments.settled acl (not set) -> ALLOW User:billing READ on TOPIC payments.settled + grant ALLOW User:orders-service WRITE on TOPIC prefix orders. acl (not set) -> ALLOW User:orders-service WRITE on TOPIC prefix orders. - revoke ALLOW User:auditor DESCRIBE on TOPIC orders.created acl ALLOW User:auditor DESCRIBE on TOPIC orders.created -> (not set) [revokes access] User:auditor loses DESCRIBE on orders.created; a client relying on it fails from then on. - revoke ALLOW User:billing READ on TOPIC customers.updated acl ALLOW User:billing READ on TOPIC customers.updated -> (not set) [revokes access] User:billing loses READ on customers.updated; a client relying on it fails from then on. - revoke ALLOW User:ops WRITE on TOPIC orders.created acl ALLOW User:ops WRITE on TOPIC orders.created -> (not set) [revokes access] User:ops loses WRITE on orders.created; a client relying on it fails from then on. - revoke ALLOW User:orders-service WRITE on TOPIC orders. acl ALLOW User:orders-service WRITE on TOPIC orders. -> (not set) [revokes access] User:orders-service loses WRITE on orders.; a client relying on it fails from then on. - revoke ALLOW User:reporting DESCRIBE on GROUP reporting acl ALLOW User:reporting DESCRIBE on GROUP reporting -> (not set) [revokes access] User:reporting loses DESCRIBE on reporting; a client relying on it fails from then on. - revoke DENY User:analytics READ on TOPIC customers.updated acl DENY User:analytics READ on TOPIC customers.updated -> (not set) [revokes access] User:analytics loses READ on customers.updated; a client relying on it fails from then on. left alone (13) not decided customers.updated groupId Nothing about this can be checked against the system, so sync cannot bring it into line. Operation 'receive_customers.updated' declares no consumer group, so there is nothing a broker could confirm. not decided orders.created groupId Nothing about this can be checked against the system, so sync cannot bring it into line. Operation 'receive_orders.created' declares no consumer group, so there is nothing a broker could confirm. not decided payments.settled groupId Nothing about this can be checked against the system, so sync cannot bring it into line. Operation 'receive_payments.settled' declares no consumer group, so there is nothing a broker could confirm. not decided customers.updated action Nothing about this can be checked against the system, so sync cannot bring it into line. A broker cannot know who publishes to 'customers.updated', so operation 'send_customers.updated' is not checked. not decided orders.created action Nothing about this can be checked against the system, so sync cannot bring it into line. A broker cannot know who publishes to 'orders.created', so operation 'send_orders.created' is not checked. not decided payments.settled action Nothing about this can be checked against the system, so sync cannot bring it into line. A broker cannot know who publishes to 'payments.settled', so operation 'send_payments.settled' is not checked. cannot change ALLOW User:admin ALTER on CLUSTER kafka-cluster acl ALLOW User:admin ALTER on CLUSTER kafka-cluster is about the cluster itself - who may administer it - not about a service's topics or groups. sync does not grant it; kafka-acls --add --cluster does, if it belongs here. and 6 differences sync does not act on - servers, messages, undeclared settings; kurkik kafka diff shows them applying needs: DESCRIBE and DESCRIBE_CONFIGS on the topics it reads; ALTER on CLUSTER 12 changes, 6 destroy - 1 still differs rehearsal [?] not attempted grant ALLOW User:reporting READ on GROUP reporting acl (not set) -> ALLOW User:reporting READ on GROUP reporting not rehearsed: Kafka has no validate-only ACL change [?] not attempted grant ALLOW User:analytics READ on TOPIC customers.updated acl (not set) -> ALLOW User:analytics READ on TOPIC customers.updated not rehearsed: Kafka has no validate-only ACL change [?] not attempted grant ALLOW User:audit DESCRIBE on TOPIC orders.created acl (not set) -> ALLOW User:audit DESCRIBE on TOPIC orders.created not rehearsed: Kafka has no validate-only ACL change [?] not attempted grant ALLOW User:ops WRITE on TOPIC orders.created from 10.0.0.1 acl (not set) -> ALLOW User:ops WRITE on TOPIC orders.created from 10.0.0.1 not rehearsed: Kafka has no validate-only ACL change [?] not attempted grant ALLOW User:billing READ on TOPIC payments.settled acl (not set) -> ALLOW User:billing READ on TOPIC payments.settled not rehearsed: Kafka has no validate-only ACL change [?] not attempted grant ALLOW User:orders-service WRITE on TOPIC prefix orders. acl (not set) -> ALLOW User:orders-service WRITE on TOPIC prefix orders. not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke ALLOW User:auditor DESCRIBE on TOPIC orders.created acl ALLOW User:auditor DESCRIBE on TOPIC orders.created -> (not set) not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke ALLOW User:billing READ on TOPIC customers.updated acl ALLOW User:billing READ on TOPIC customers.updated -> (not set) not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke ALLOW User:ops WRITE on TOPIC orders.created acl ALLOW User:ops WRITE on TOPIC orders.created -> (not set) not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke ALLOW User:orders-service WRITE on TOPIC orders. acl ALLOW User:orders-service WRITE on TOPIC orders. -> (not set) not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke ALLOW User:reporting DESCRIBE on GROUP reporting acl ALLOW User:reporting DESCRIBE on GROUP reporting -> (not set) not rehearsed: Kafka has no validate-only ACL change [?] not attempted revoke DENY User:analytics READ on TOPIC customers.updated acl DENY User:analytics READ on TOPIC customers.updated -> (not set) not rehearsed: Kafka has no validate-only ACL change The cluster would accept every request it was shown. 12 could not be rehearsed - Kafka has no validate-only deletion or ACL change, and a schema registry no validate-only write. Nothing was changed. exit 2