conduktor.io ↗

Kafka DescribeLogDirs Request Wire Format v1 — Binary Protocol Layout

What is DescribeLogDirs?

Shows per-broker disk usage, replica offset lag, and which replicas are mid-move (futureLogDir), via kafka-log-dirs.sh. High offsetLag on a follower replica indicates it's lagging behind the leader; compare with the ISR list to assess replication health.

Related Errors

CLUSTER_AUTHORIZATION_FAILED · KAFKA_STORAGE_ERROR · NOT_LEADER_OR_FOLLOWER · UNKNOWN_TOPIC_OR_PARTITION

Wire Diagram

Request Header
message_size int32 · 4B
api_key int16 · 2B
api_version int16 · 2B
correlation_id int32 · 4B
client_id string
DescribeLogDirsRequest v1
Topics? array
Topic string
Partitions []int32

Schema & Example

Schema
{
  "Topics": [{
      "Topic": string,
      "Partitions": [int32]
  }]?
}
Example
{
  "Topics": [{
      "Topic": "orders",
      "Partitions": [1, 2, 3]
  }]?
}