conduktor.io ↗

Kafka DescribeLogDirs Changelog — Protocol Version History

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.

VersionKafkaChanges
DescribeLogDirsRequest
v12.2
is the same as version 0.
v22.6
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v33.2
is the same as version 2 (new field in response).
v43.3
is the same as version 2 (new fields in response).
v5
is the same as version 2 (new fields in response).
DescribeLogDirsResponse
v12.2
on quota violation, brokers send out responses before throttling.
v22.6
~ Flexible encoding enabled FLEXIBLE
is the first flexible version.
v33.2
+ ErrorCode int16
adds the top-level ErrorCode field
v43.3
+ TotalBytes int64
+ UsableBytes int64
adds the TotalBytes and UsableBytes fields
v5
+ IsCordoned bool
adds IsCordoned field