kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-19400: Update AddRaftVoterRequest RPC to version 1

Open kevin-wu24 opened this issue 7 months ago • 0 comments

Add the ackWhenCommitted boolean field to the AddRaftVoterRequest RPC, and bump the RPC's version to 1.

  • The default value of ackWhenCommitted is true, and in this case the leader will return a response after committing the VotersRecord generated by the RPC.
  • If ackWhenCommitted == false, the leader will return a response after writing the VotersRecord to its own local log.
  • Add unit tests in KafkaRaftClientReconfigTest

kevin-wu24 avatar Jun 17 '25 16:06 kevin-wu24