conduktor.io ↗

Kafka UpdateRaftVoter Changelog — Protocol Version History

What is UpdateRaftVoter?

Updates a KRaft controller node's listener endpoints in the quorum configuration after it migrates to a new host. Without this, other voters keep trying to reach the old address, which can cause the quorum to lose majority if the unreachable node is a voter.

VersionKafkaChanges
UpdateRaftVoterRequest
v03.9
+ ClusterId string
+ CurrentLeaderEpoch int32
+ VoterId int32
+ VoterDirectoryId uuid
+ Listeners []Listener
+ Name string
+ Host string
+ Port uint16
+ KRaftVersionFeature KRaftVersionFeature
+ MinSupportedVersion int16
+ MaxSupportedVersion int16
~ Flexible encoding enabled FLEXIBLE
UpdateRaftVoterResponse
v03.9
+ ThrottleTimeMs int32
+ ErrorCode int16
+ CurrentLeader CurrentLeader
+ LeaderId int32
+ LeaderEpoch int32
+ Host string
+ Port int32
~ Flexible encoding enabled FLEXIBLE