Help me see the new improve for KIP-565 , thanks very much

2020-02-28 Thread steven lu
Thanks for your email thread replay, this switch same not the best.I have changed another way to solve this problom,can you help me review the pr: https://github.com/apache/kafka/pull/7706/files the email thread url is https://lists.apache.org/thread.html/r636f607c8937bc557b476346faa25f10a26cf5bee

Re: [DISCUSS] KIP-565: Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer

2020-02-27 Thread Steven Lu
okers which already have all ACLs loaded into > their cache. In case you have found issues with this approach, it will be > good to understand what the issues are so that we can improve this path. > > On Tue, Jan 21, 2020 at 1:50 AM Steven Lu wrote: > > > Hello all, >

Re: [DISCUSS] KIP-565: Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer

2020-02-16 Thread Steven Lu
okers which already have all ACLs loaded into > their cache. In case you have found issues with this approach, it will be > good to understand what the issues are so that we can improve this path. > > On Tue, Jan 21, 2020 at 1:50 AM Steven Lu wrote: > > > Hello all, >

[DISCUSS] KIP-565: Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer

2020-01-20 Thread Steven Lu
Hello all, In the class Named AclCommand,configure SimpleAclAuthorizer,but no need call loadCache. now we have 20,000 topics in kafka cluster,everytime I run AclCommand,all these topics's Alcs need to be authed, it will be very slow. The purpose of this optimization is:we can choose to not load

[DISCUSS] KIP-552: Add new cached authorizer:change the dim of cache

2020-01-18 Thread Steven Lu
Hello all, I wrote a KIP about adding the new cached authorizer,this improvement can reduce greatly the CPU usage in the long run. Please take a look: https://cwiki.apache.org/confluence/display/KAFKA/KIP-553%3A+Using+AclCommand%2Cavoid+call+the+global+method+loadcache+in+SimpleAclAuthorizer Th

[jira] [Created] (KAFKA-9452) Add new cached authorizer:change the dim of cache

2020-01-18 Thread Steven Lu (Jira)
Steven Lu created KAFKA-9452: Summary: Add new cached authorizer:change the dim of cache Key: KAFKA-9452 URL: https://issues.apache.org/jira/browse/KAFKA-9452 Project: Kafka Issue Type

[jira] [Created] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer

2020-01-14 Thread Steven Lu (Jira)
Steven Lu created KAFKA-9424: Summary: Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer Key: KAFKA-9424 URL: https://issues.apache.org/jira/browse/KAFKA-9424 Project: Kafka