You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ibenchhida (Jira)" <ji...@apache.org> on 2026/06/05 15:08:00 UTC
[jira] [Created] (KAFKA-20667) O(N) ACL scan in StandardAuthorizerData.checkSection
ibenchhida created KAFKA-20667:
----------------------------------
Summary: O(N) ACL scan in StandardAuthorizerData.checkSection
Key: KAFKA-20667
URL: https://issues.apache.org/jira/browse/KAFKA-20667
Project: Kafka
Issue Type: Bug
Components: core
Affects Versions: 3.9.2
Reporter: ibenchhida
Root cause: checkSection() iterates all ACLs sharing the same resource
pattern via TreePSet.tailSet(), calling HashSet.contains per ACL × topic.
With 504 topics × 7001 ACLs → ~3.5M iterations per MetadataRequest.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)