Skip to content

KAFKA-8265 : Fix config name to match KIP-458, Return a copy of the ConfigDef in Client Configs.#6755

Merged
rhauch merged 1 commit intoapache:trunkfrom
mageshn:kip-458-fixes
May 20, 2019
Merged

KAFKA-8265 : Fix config name to match KIP-458, Return a copy of the ConfigDef in Client Configs.#6755
rhauch merged 1 commit intoapache:trunkfrom
mageshn:kip-458-fixes

Conversation

@mageshn
Copy link
Copy Markdown
Contributor

@mageshn mageshn commented May 17, 2019

In the initial implementation for KIP-458 #6624, the config name was incorrect and not consistent with what was specified in the KIP. This PR fixes the inconsistency.

There was also a concern raised about the mutability of ConfigDef in #6624 (review). I have made an attempt to fix it by returning a copy every time.

Committer Checklist (excluded from commit message)

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

Return a copy of the ConfigDef in Client Configs.
@mageshn
Copy link
Copy Markdown
Contributor Author

mageshn commented May 17, 2019

@rhauch when you get a chance, can you take a look at this minor fix for KIP-458.

Copy link
Copy Markdown
Contributor

@rhauch rhauch left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for catching these issues.

@mageshn
Copy link
Copy Markdown
Contributor Author

mageshn commented May 17, 2019

@ijuma I have addressed the mutability issue that you had raised in the original PR. Let me know if this looks good.

@rhauch rhauch merged commit 7d70133 into apache:trunk May 20, 2019
@ijuma
Copy link
Copy Markdown
Member

ijuma commented May 21, 2019

@rhauch this must be cherry-picked to the 2.3 branch also.

rhauch pushed a commit that referenced this pull request May 22, 2019
Return a copy of the ConfigDef in Client Configs. Related to KIP-458.

Author: Magesh Nandakumar <magesh.n.kumar@gmail.com
Reviewer: Randall Hauch <rhauch@gmail.com>
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
Return a copy of the ConfigDef in Client Configs. Related to KIP-458.

Author: Magesh Nandakumar <magesh.n.kumar@gmail.com
Reviewer: Randall Hauch <rhauch@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants