Skip to content
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

KAFKA-16908: Refactor QuorumConfig with AbstractConfig #17231

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

xijiu
Copy link
Contributor

@xijiu xijiu commented Sep 19, 2024

As title

Committer Checklist (excluded from commit message)

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

Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@xijiu thanks for this patch!

@@ -47,7 +47,7 @@
* controller should be able to transition from standby to active without reloading all of
* the metadata. The standby is a "hot" standby, not a "cold" one.
*/
public class QuorumConfig {
public class QuorumConfig extends AbstractConfig {
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it need to extend AbstractConfig if it's constructor accepts a AbstractConfig already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does it need to extend AbstractConfig if it's constructor accepts a AbstractConfig already?

Indeed, having it extend AbstractConfig is unnecessary. And I have removed it. PTAL

@github-actions github-actions bot added the kraft label Sep 20, 2024
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.

2 participants