Skip to content

Bump DescribeConfigs API to version 1 #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

rkrage
Copy link
Contributor

@rkrage rkrage commented Feb 26, 2021

Version 1 of this API exposes config_source which describes the origin of a particular config (topic, broker, default value, etc). We have tooling that manages topic-level configs so being able to filter on config_source would be very helpful.

As far as I can tell, DescribeConfigs is used in two places: describe_topic and describe_configs (broker configs). The former is noted to be an alpha API while the latter is not.

I'm not sure about the compatibility goals of this library (version 1 of this API was introduced in Kafka 1.1.0), so I just wanted to start a conversation.

Reference: https://kafka.apache.org/protocol#The_Messages_DescribeConfigs

@dasch
Copy link
Contributor

dasch commented Mar 10, 2021

Looks like this change breaks the integration tests.

I'm not quite sure how many people are using Kafka versions older than v1.1 – since there's no support for multiple versions of an API I'm generally conservative about bumping the required version.

@rkrage
Copy link
Contributor Author

rkrage commented Mar 10, 2021

I can get the tests passing by updating a few expectations and skipping some specs for v1.0 / v0.11. But based on your comments it seems like maybe we don't want to go forward with this? We can probably just live with our monkey patch for now and work towards getting these APIs implemented in rdkafka-ruby.

@github-actions
Copy link

Pull request has been marked as stale due to a lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants