KIP-565 — Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
Accepted SecurityAdmin
Fixes `AclCommand` (the `kafka-acls.sh` CLI) to avoid invoking `SimpleAclAuthorizer.loadCache()` when not strictly necessary for the requested operation (e.g., add/delete ACL). On clusters with 20,000+ topics, `loadCache()` reads all ACL znodes from ZooKeeper into memory, turning a simple ACL mutation into a minutes-long operation.
Details
| Author | StevenLuMT |
| Status | Accepted |
| JIRA | KAFKA-9424 |
| Wiki | View on Apache Wiki |
| Created | 2019-12-07 |
| Last Modified | 2020-01-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.