-
Notifications
You must be signed in to change notification settings - Fork 14.6k
MINOR: Cleanup 'share' from group.coordinator.rebalance.protocols #20466
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
base: trunk
Are you sure you want to change the base?
MINOR: Cleanup 'share' from group.coordinator.rebalance.protocols #20466
Conversation
… value. Share Groups should instead be enabled through the share.version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
.gitignore
Outdated
@@ -31,6 +31,8 @@ TAGS | |||
Vagrantfile.local | |||
/logs | |||
.DS_Store | |||
.bloop/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, @AndrewJSchofield. I’ve reverted the .gitignore change. Please let me know if there’s anything else I should adjust.
@elmoctarebnou There are some build failures. Please check the logs and resolve. For example:
|
…nd test rejecting 'share'
Thanks, @AndrewJSchofield — I fixed the error you pointed out. I also chatted with @clolov , and he suggested adding a small test to validate that "share" is not included in group.coordinator.rebalance.protocols, which I’ve now added. |
Hi @AndrewJSchofield all tests are passing except for the ones already marked as flaky, which seem unrelated to this change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
@@ -1784,15 +1784,15 @@ class KafkaConfigTest { | |||
props.put(GroupCoordinatorConfig.GROUP_COORDINATOR_REBALANCE_PROTOCOLS_CONFIG, "consumer") | |||
assertThrows(classOf[ConfigException], () => KafkaConfig.fromProps(props)) | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: extra blank.
@@ -69,6 +69,11 @@ public class GroupCoordinatorConfig { | |||
Group.GroupType.CLASSIC.toString(), | |||
Group.GroupType.CONSUMER.toString(), | |||
Group.GroupType.STREAMS.toString()); | |||
public static final List<String> GROUP_COORDINATOR_REBALANCE_PROTOCOLS_ALLOWED = List.of( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could reuse the GROUP_COORDINATOR_REBALANCE_PROTOCOLS_DEFAULT
constant since they are exactly the same.
Requesting review from @dajac since he's most knowledgeable about this config. I'm not certain the change is necessary or worthwhile given that this config is possibly being deprecated soon. |
Cleanup 'share' from group.coordinator.rebalance.protocols as a valid
value. Share Groups should instead be enabled through the share.version
Reviewers: Christo
Lolov[email protected]