cmccabe commented on PR #12961: URL: https://github.com/apache/kafka/pull/12961#issuecomment-1341714694
I think the better approach to take here would be to make the `ControllerNodeProvider` return a tuple of `(isKraft, controller id)` and then have it check the metadata cache to see if it needs to use a kraft controller. Then have the inter broker send thread do something useful if it sees a transition. I agree that we might want to use an external thread for this (or possibly the scheduler) but that should just be for reinitialization -- 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]
