Description
Each Confluent Cluster type has a limit on the number of ACLs that can be created. These limits can be found in the Confluent Cloud documentation's cluster limit comparison table.
There is currently no way to use the Confluent Cloud console or Service Quotas API to determine the number of ACLs that have been created on a Confluent Cloud cluster. The following suggestions can be used as a workaround until ACL usage can be tracked via the Service Quotas API and/or the Confluent Cloud Console.
Applies To
All Confluent Cloud clusters.
Resolution
-
jq
can be used to count the number of ACLs returned in thedata
array:-
jq -r '.data | length'
-
-
confluent kafka acl list --all | wc -l
The Apache Kafka CLI for ACL management
-
kafka-acls --bootstrap-server <ccloud_bootstrap_endpoint>:9092 --command-config <path/to/config.properties> --list | grep "principal=" | wc -l