conduktor.io ↗

Kafka DescribeQuorum Request Wire Format v2 — Binary Protocol Layout

What is DescribeQuorum?

Shows KRaft controller quorum health via kafka-metadata-quorum.sh --describe. The lagOffset per voter reveals how far behind each follower controller is from the leader. A voter with high lag and not in the ISR may be unable to participate in elections.

Wire Diagram

Request Header · flexible
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string (compact)
tagged var
DescribeQuorumRequest v2
Topics array
tagged var
TopicName string (compact)
Partitions array
tagged var
PartitionIndex int32 · 4B
tagged var

Schema & Example

Schema
{
  "Topics": [{
      "TopicName": string,
      "Partitions": [{
          "PartitionIndex": int32
      }]
  }]
}
Example
{
  "Topics": [{
      "TopicName": "orders",
      "Partitions": [{
          "PartitionIndex": 3
      }]
  }]
}