...
The metadata shell will support examining KRaft ACLs. Each ACL will appear in /acl/id/<uuid> in its JSON form.
New Metrics
In order to improve manageability, we will add a new metric, AclCount.
Attribute Name | Value | Notes |
---|---|---|
kafka.server:type=Authorizer,name=AclCount | Current number of ACLs | For combined nodes, this is the count from the controller authorizer, not the broker authorizer. |
New Authorizer Function
In order to support the AclCount metric, we will extend the Authorizer API with a new aclCount function.
Code Block | ||
---|---|---|
| ||
int aclCount() |
In order to preserve compatibility, this function will default to returning -1, so that existing Authorizer subclasses will continue to work. Authorizers that expose this metric should override this function with the correct value.
Compatibility, Deprecation, and Migration Plan
...