-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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-18559: Cleanup FinalizedFeatures #18593
base: trunk
Are you sure you want to change the base?
Conversation
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.
@frankvicky thanks for this patch. please take a look at one small comment.
this.metadataVersion = metadataVersion; | ||
this.finalizedFeatures = new HashMap<>(finalizedFeatures); | ||
this.finalizedFeaturesEpoch = finalizedFeaturesEpoch; | ||
// In KRaft mode, we always include the metadata version in the features map. |
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.
Could you please keep the comment "In KRaft mode, we always include the metadata version in the features map"?
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.
done.
To avoid confusion, I delete the in kraft
.
826cc54
to
0f7db63
Compare
) { | ||
Objects.requireNonNull(metadataVersion); | ||
this.metadataVersion = metadataVersion; |
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.
Could you please merge them?
this.metadataVersion = Objects.requireNonNull(metadataVersion);
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.
Sure!
I have just updated the patch
JIRA: KAFKA-18559 Cleanup the zk logic and test in `FinalizedFeatures`
0f7db63
to
7dec89f
Compare
JIRA: KAFKA-18559
Cleanup the zk logic and test in
FinalizedFeatures
Committer Checklist (excluded from commit message)