cmccabe opened a new pull request, #16006:
URL: https://github.com/apache/kafka/pull/16006

   ZkMetadataCache could theoretically return KRaft controller information from 
a call to ZkMetadataCache.getAliveBrokerNode, which doesn't make sense. KRaft 
controllers are not part of the set of brokers.
   
   In practice, this wasn't a concern since all the use-cases for 
ZkMetadataCache.getAliveBrokerNode center around finding coordinators, which 
will never be kraft controllers anyway. Still, cleaning up this code reduces 
confusion and is helpful for removing places where static controller 
configurations are used, as part of KIP-853.


-- 
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

Reply via email to