ruby-kafka icon indicating copy to clipboard operation
ruby-kafka copied to clipboard

Bump DescribeConfigs API to version 1

Open rkrage opened this issue 4 years ago • 2 comments

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

rkrage avatar Feb 26 '21 17:02 rkrage

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.

dasch avatar Mar 10 '21 14:03 dasch

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.

rkrage avatar Mar 10 '21 16:03 rkrage

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

github-actions[bot] avatar Jun 17 '23 00:06 github-actions[bot]