The SimpleAclAuthorizer accepts the rules which are created / removed in following format Map<Resource, Set<Acl>>. It allows to group the ACLs per resource and call the KAfka methods only few times.
In the User Operator we currently call this separately for every single Acl rule (i.e. our Set<Acl> has always size 1). I wonder if there might be some speedup in organizing the Acl rules per resource and making few calls to Zookeeper. I expect that it migth decrease the traffic anf put less load mainly on Zookeeper.
The
SimpleAclAuthorizer
accepts the rules which are created / removed in following formatMap<Resource, Set<Acl>>
. It allows to group the ACLs per resource and call the KAfka methods only few times.In the User Operator we currently call this separately for every single Acl rule (i.e. our
Set<Acl>
has always size 1). I wonder if there might be some speedup in organizing the Acl rules per resource and making few calls to Zookeeper. I expect that it migth decrease the traffic anf put less load mainly on Zookeeper.