conduktor.io ↗

Kafka RemoveRaftVoter Response Wire Format v0 — Binary Protocol Layout

What is RemoveRaftVoter?

Shrinks the KRaft controller quorum, typically when decommissioning a controller node. The quorum must have consensus to remove a voter. You cannot remove a voter if doing so would make the quorum unable to reach majority.

Related Errors

VOTER_NOT_FOUND

Wire Diagram

Response Header · flexible
message_size int32 · 4B
correlation_id int32 · 4B
tagged var
RemoveRaftVoterResponse v0
ThrottleTimeMs int32 · 4B
ErrorCode int16 · 2B
ErrorMessage? string (compact)
tagged var

Schema & Example

Schema
{
  "ThrottleTimeMs": int32,
  "ErrorCode": int16,
  "ErrorMessage": string?
}
Example
{
  "ThrottleTimeMs": 0,
  "ErrorCode": 0,
  "ErrorMessage": "NETWORK_EXCEPTION"
}