nileshkumar3 opened a new pull request, #21718: URL: https://github.com/apache/kafka/pull/21718
This PR fixes KAFKA-20199. In KRaft mode, controller-only nodes create a Selector via NodeToControllerChannelManagerImpl with the metric tag "BrokerId". This is misleading because the process is not acting as a broker. This change makes the selector metric tag role-aware: - Controller-only nodes use "NodeId" - Broker and combined-role nodes continue to use "BrokerId" This preserves existing broker metrics while avoiding broker-specific tags on controller-only nodes. -- 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]
