[KIP-113] Add rd_kafka_DescribeLogDirs() admin API#5333
Open
Piotr WOLSKI (piochelepiotr) wants to merge 1 commit intoconfluentinc:masterfrom
Open
[KIP-113] Add rd_kafka_DescribeLogDirs() admin API#5333Piotr WOLSKI (piochelepiotr) wants to merge 1 commit intoconfluentinc:masterfrom
Piotr WOLSKI (piochelepiotr) wants to merge 1 commit intoconfluentinc:masterfrom
Conversation
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
f29a9f6 to
522897a
Compare
Implement the DescribeLogDirs admin API (Kafka API key 35) to allow querying partition sizes in bytes on disk for capacity planning and monitoring. Adds full C admin API following the ElectLeaders pattern with self-contained protocol request/response. Supports protocol versions 0-4 with flexible version negotiation (v2+). The topics parameter accepts a topic-partition list to filter, or NULL for all topics. Request targets a specific broker via AdminOptions_set_broker(), defaults to controller. No fanout: single broker per call, same as Java AdminClient.
522897a to
2293471
Compare
Christopher Henn (chnn)
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the DescribeLogDirs admin API (Kafka API key 35, KIP-113)
to allow querying partition sizes in bytes on disk.
topicsparameter accepts a topic-partition list to filter, or NULL for allAdminOptions_set_broker(), defaults to controllerResolves #5192
A companion confluent-kafka-python PR with Python bindings and
describe_log_dirs()will follow once this is merged.