TaiJuWu opened a new pull request, #20712: URL: https://github.com/apache/kafka/pull/20712
MetadataQuorumCommand and describeMetadataQuorum support returning committed voter. The committed voter can come from KRaftControllerStateMachine so LeaderState extend to include it. Because all offset and voterSet will be restored in KRaftControllerStateMachine, we can get committed voters from KRaftControllerStateMachine. Additional, there is a special case which is we can't find any voter set when initializing, we just returned static voter. Co-authoer: Peter Lee <[[email protected]](mailto:[email protected])> -- 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]
