Skip to content

KAFKA-9432:(follow-up) Set configKeys to null in describeConfigs() to make it backward compatible with older Kafka versions.#9046

Closed
omkreddy wants to merge 1 commit intoapache:trunkfrom
omkreddy:KAFKA-9432
Closed

KAFKA-9432:(follow-up) Set configKeys to null in describeConfigs() to make it backward compatible with older Kafka versions.#9046
omkreddy wants to merge 1 commit intoapache:trunkfrom
omkreddy:KAFKA-9432

Conversation

@omkreddy
Copy link
Copy Markdown
Contributor

@omkreddy omkreddy commented Jul 20, 2020

  • After KAFKA-9432 automated protocol for DescribeConfigs #8312, older brokers are returning empty configs, with latest adminClient.describeConfigs. Old brokers are receiving empty configNames in AdminManageer.describeConfigs() method. Older brokers does not handle empty configKeys. Due to this old brokers are filtering all the configs.
  • Update ClientCompatibilityTest to verify describe configs
  • Add test case to test describe configs with empty configuration Keys

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@omkreddy omkreddy requested a review from mimaison July 20, 2020 20:53
… make it backward compatible with older Kafka versions.
Copy link
Copy Markdown
Contributor

@rajinisivaram rajinisivaram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omkreddy Thanks for the PR, LGTM

@omkreddy
Copy link
Copy Markdown
Contributor Author

@rajinisivaram Thanks for the review. Merging to trunk.

@omkreddy omkreddy closed this in c38825a Jul 21, 2020
vcrfxia pushed a commit to confluentinc/kafka that referenced this pull request Jul 22, 2020
…` to make it backward compatible with older Kafka versions.

- After apache#8312, older brokers are returning empty configs,  with latest `adminClient.describeConfigs`.  Old brokers  are receiving empty configNames in `AdminManageer.describeConfigs()` method. Older brokers does not handle empty configKeys. Due to this old brokers are filtering all the configs.
- Update ClientCompatibilityTest to verify describe configs
- Add test case to test describe configs with empty configuration Keys

Author: Manikumar Reddy <manikumar.reddy@gmail.com>

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>

Closes apache#9046 from omkreddy/KAFKA-9432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants