You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "AndrewJSchofield (via GitHub)" <gi...@apache.org> on 2025/10/14 12:57:43 UTC
[PR] MINOR: Tidy up comments in MetadataVersion [kafka]
AndrewJSchofield opened a new pull request, #20697:
URL: https://github.com/apache/kafka/pull/20697
The PR just tidies up the comments in the MetadataVersion class to do with using placeholder metadata versions for a future release as a way to use features to enable share groups and streams groups as previews in AK 4.1. The metadata versions are simply unstable 4.2 MVs now, which is entirely usual at this stage of the release.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Tidy up comments in MetadataVersion [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #20697:
URL: https://github.com/apache/kafka/pull/20697#discussion_r2432600129
##########
server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java:
##########
@@ -121,24 +119,10 @@ public enum MetadataVersion {
// Please move this comment when updating the LATEST_PRODUCTION constant.
Review Comment:
The comment `If users attempt to use an unstable MetadataVersion, they will get an error.` seems to be incorrect. Users can use an unstable MV by enabling `unstable.feature.versions.enable`, so they won't necessarily get an error
##########
server-common/src/main/java/org/apache/kafka/server/common/ShareVersion.java:
##########
@@ -24,7 +24,7 @@ public enum ShareVersion implements FeatureVersion {
SV_0(0, MetadataVersion.MINIMUM_VERSION, Map.of()),
// Version 1 enables share groups (KIP-932).
- // This is a preview in 4.1, and expected to be production-ready in 4.2.
+ // This was a preview in 4.1 which required enabling explicitly.
Review Comment:
https://github.com/apache/kafka/blob/trunk/server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java#L99
Could you please also fix the similar description in `MetadataVersion.java#L99`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] MINOR: Tidy up comments in MetadataVersion [kafka]
Posted by "AndrewJSchofield (via GitHub)" <gi...@apache.org>.
AndrewJSchofield merged PR #20697:
URL: https://github.com/apache/kafka/pull/20697
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org