chia7712 commented on PR #15695: URL: https://github.com/apache/kafka/pull/15695#issuecomment-2049066956
> This PR fixes that by using the controller ID from the KafkaController.scala, which is obtained directly from the controller znode. It also adds a new test, ControllerIdMetricTest.scala. Should we replace all `metadataCache.getControllerId` by `getCurrentControllerIdFromOldController` if the former is unstable? -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org