conduktor.io ↗

KIP-827 — Expose logdirs total and usable space via Kafka API

Accepted Kafka 3.3 AdminBroker

KIP-827 adds `totalBytes` and `usableBytes` fields to the `DescribeLogDirs` API response (v4) and exposes them via `LogDirDescription` in the `AdminClient`. Storage metrics are available via JMX for trend monitoring and alerting, but automation and tooling that need a point-in-time disk capacity check (e.g. to verify a resize or confirm topic deletion freed space) previously had no Kafka-native API to query disk sizes.

Protocol Impact

DescribeLogDirs

Details

AuthorMickael Maison
StatusAccepted
Kafka Version3.3
JIRAKAFKA-13958
WikiView on Apache Wiki
Created2022-04-06
Last Modified2022-09-29
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.