Add KIP-546 client quota Admin APIs - #2321
Draft
Honglei (honglei) wants to merge 1 commit into
Draft
Conversation
Expose DescribeClientQuotas and AlterClientQuotas through the Python AdminClient, with immutable quota entity keys, input validation, type stubs, unit coverage, and a Kafka-backed roundtrip test.
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
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.
What
Expose KIP-546
describe_client_quotas()andalter_client_quotas()through the PythonAdminClient. This adds the public quota models, C-extension conversion/result handling, type stubs, validation, unit tests, and a Kafka-backed roundtrip test.This is a stacked draft and depends on confluentinc/librdkafka#5560. It must not be merged until that C API is accepted and the bundled librdkafka revision is updated.
Checklist
References
Test & Review
Built the extension against the exact reviewed tree from librdkafka#5560, then ran:
Open questions / Follow-ups
The PR remains draft until librdkafka#5560 lands and this repository updates its librdkafka dependency.