Ismael Juma created KAFKA-10074:
-----------------------------------
Summary: 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
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)