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.
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
Topic
string
Partitions
[]int32
Schema & Example
Schema { "Topics": [{ "Topic": string, "Partitions": [int32] }]? }
Example { "Topics": [{ "Topic": "orders", "Partitions": [1, 2, 3] }]? }