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
Details
| Author | Mickael Maison |
| Status | Accepted |
| Kafka Version | 3.3 |
| JIRA | KAFKA-13958 |
| Wiki | View on Apache Wiki |
| Created | 2022-04-06 |
| Last Modified | 2022-09-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.