conduktor.io ↗

Kafka AddRaftVoter Changelog — Protocol Version History

What is AddRaftVoter?

Expands the KRaft controller quorum by adding a new voter node. The new node must catch up with the leader before participating in elections. Expanding from 3 to 5 voters increases fault tolerance from losing 1 node to losing 2.

VersionKafkaChanges
AddRaftVoterRequest
v03.9
+ ClusterId string
+ TimeoutMs int32
+ VoterId int32
+ VoterDirectoryId uuid
+ Listeners []Listener
+ Name string
+ Host string
+ Port uint16
~ Flexible encoding enabled FLEXIBLE
v14.2
+ AckWhenCommitted bool
adds the AckWhenCommitted field.
AddRaftVoterResponse
v03.9
+ ThrottleTimeMs int32
+ ErrorCode int16
+ ErrorMessage string
~ Flexible encoding enabled FLEXIBLE
v14.2
is the same as version 0