You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2020/06/01 14:03:00 UTC
[jira] [Resolved] (KAFKA-10074) Improve performance of
`matchingAcls`
[ https://issues.apache.org/jira/browse/KAFKA-10074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismael Juma resolved KAFKA-10074.
---------------------------------
Reviewer: Rajini Sivaram
Resolution: Fixed
> Improve performance of `matchingAcls`
> -------------------------------------
>
> Key: KAFKA-10074
> URL: https://issues.apache.org/jira/browse/KAFKA-10074
> Project: Kafka
> Issue Type: Improvement
> Reporter: Ismael Juma
> Assignee: Ismael Juma
> Priority: Critical
> Fix For: 2.6.0
>
>
> A recent change in `matchingAcls` to remove `filterKeys` in favor of filtering inside `flatMap` caused a performance regression in cases where there are large number of topics, prefix ACLs and TreeMap.from/to filtering is ineffective. In such cases, we rely on string comparisons to exclude entries from the ACL cache that are not relevant.
> This issue is not present in any release yet, so we should include the simple fix in the 2.6 branch.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)