conduktor.io ↗

Kafka EndQuorumEpoch Request Wire Format v0 — Binary Protocol Layout

What is EndQuorumEpoch?

A stepping-down KRaft leader sends this to prompt other voters to start a new election immediately. Without it, the quorum would wait for the election timeout, making controller failover during planned maintenance much slower.

Related Errors

INCONSISTENT_VOTER_SET

Wire Diagram

Request Header
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string
EndQuorumEpochRequest v0
ClusterId? string
Topics array
TopicName string
Partitions array
PartitionIndex int32 · 4B
LeaderId int32 · 4B
LeaderEpoch int32 · 4B
PreferredSuccessors []int32

Schema & Example

Schema
{
  "ClusterId": string?,
  "Topics": [{
      "TopicName": string,
      "Partitions": [{
          "PartitionIndex": int32,
          "LeaderId": int32,
          "LeaderEpoch": int32,
          "PreferredSuccessors": [int32]
      }]
  }]
}
Example
{
  "ClusterId": null,
  "Topics": [{
      "TopicName": "orders",
      "Partitions": [{
          "PartitionIndex": 3,
          "LeaderId": 1,
          "LeaderEpoch": 17,
          "PreferredSuccessors": [1, 2, 3]
      }]
  }]
}