ijuma opened a new pull request #8643: URL: https://github.com/apache/kafka/pull/8643
* Fix describeConfigs and alterConfigs not to invoke authorizer more than once * Add tests to KafkaApisTest to verify the fixes * Rename `filterAuthorized` to `filterByAuthorized` * Tweak `filterByAuthorized` to take resources instead of resource names and improve implementation * Introduce `partitionMapByAuthorized` and `partitionSeqByAuthorized` and simplify code by using it * Replace List with Seq in some AdminManager methods * Remove stray `println` in `KafkaApisTest` ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org