[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Reviewer: Ismael Juma (was: Guangyuan Wang) > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools >Affects Versions: 0.10.2.0, 2.4.0, 2.3.1 > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Labels: Solved > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Reviewer: Manikumar (was: Ismael Juma) > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools >Affects Versions: 0.10.2.0, 2.4.0, 2.3.1 > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Labels: Solved > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Reviewer: Rajini Sivaram (was: Manikumar) > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools >Affects Versions: 0.10.2.0, 2.4.0, 2.3.1 > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Labels: Solved > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Description: 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 the acl of all topics into memory, mainly for adding and deleting permissions. PR Available here: [https://github.com/apache/kafka/pull/7706] KIP Available here: [https://cwiki.apache.org/confluence/display/KAFKA/KIP-565%3A+Using+AclCommand%2Cavoid+call+the+global+method+loadcache+in+SimpleAclAuthorizer] Issue Available here: https://issues.apache.org/jira/browse/KAFKA-9424 mainly for adding and deleting permissions,we can choose to not load the acl of all topics into memory,then we can add two args "--load-acl-cache" "false" in AclCommand.main;else you don't add these args, it will load the acl cache defaultly. we can choose improve the running time from minutes to less than one second. was: 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 the acl of all topics into memory, mainly for adding and deleting permissions. PR Available here: [https://github.com/apache/kafka/pull/7706] mainly for adding and deleting permissions,we can choose to not load the acl of all topics into memory,then we can add two args "--load-acl-cache" "false" in AclCommand.main;else you don't add these args, it will load the acl cache defaultly. we can choose improve the running time from minutes to less than one second. > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools >Affects Versions: 0.10.2.0, 2.4.0, 2.3.1 > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Labels: Solved > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > KIP Available here: > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-565%3A+Using+AclCommand%2Cavoid+call+the+global+method+loadcache+in+SimpleAclAuthorizer] > Issue Available here: https://issues.apache.org/jira/browse/KAFKA-9424 > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Labels: (was: Solved) > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > KIP Available here: > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-565%3A+Using+AclCommand%2Cavoid+call+the+global+method+loadcache+in+SimpleAclAuthorizer] > Issue Available here: https://issues.apache.org/jira/browse/KAFKA-9424 > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (KAFKA-9424) Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer
[ https://issues.apache.org/jira/browse/KAFKA-9424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Lu updated KAFKA-9424: - Affects Version/s: (was: 2.3.1) (was: 2.4.0) (was: 0.10.2.0) > Using AclCommand,avoid call the global method loadcache in SimpleAclAuthorizer > -- > > Key: KAFKA-9424 > URL: https://issues.apache.org/jira/browse/KAFKA-9424 > Project: Kafka > Issue Type: Improvement > Components: admin, tools > Environment: Linux,JDK7+ >Reporter: Steven Lu >Priority: Major > Labels: Solved > Original Estimate: 3h > Remaining Estimate: 3h > > 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 the acl of all > topics into memory, mainly for adding and deleting permissions. > PR Available here: [https://github.com/apache/kafka/pull/7706] > KIP Available here: > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-565%3A+Using+AclCommand%2Cavoid+call+the+global+method+loadcache+in+SimpleAclAuthorizer] > Issue Available here: https://issues.apache.org/jira/browse/KAFKA-9424 > mainly for adding and deleting permissions,we can choose to not load the acl > of all topics into memory,then we can add two args "--load-acl-cache" "false" > in AclCommand.main;else you don't add these args, it will load the acl cache > defaultly. > we can choose improve the running time from minutes to less than one second. -- This message was sent by Atlassian Jira (v8.3.4#803005)