brandboat opened a new pull request, #17924: URL: https://github.com/apache/kafka/pull/17924
related to KAFKA-18078 The root cause is that in KRaft mode, KafkaYammerMetrics.INSTANCE is configured by KafkaRaftServer [0], which is not executed by the test infrastructure. In contrast, in ZK mode, KafkaYammerMetrics.INSTANCE is configured by KafkaServer [1], so it is in the execution path of the test infrastructure. [0] https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaRaftServer.scala#L57 [1] https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/KafkaServer.scala#L277 ### 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
