AndrewJSchofield commented on code in PR #20972:
URL: https://github.com/apache/kafka/pull/20972#discussion_r2557820755


##########
server-common/src/main/java/org/apache/kafka/server/common/MetadataVersion.java:
##########
@@ -372,7 +372,8 @@ public static MetadataVersion fromFeatureLevel(short 
version) {
 
     // Testing only
     public static MetadataVersion latestTesting() {
-        return VERSIONS[VERSIONS.length - 1];
+        // There is no separate testing version because all features are 
currently stable.
+        return LATEST_PRODUCTION;

Review Comment:
   I've made a PR against trunk https://github.com/apache/kafka/pull/20977. Let 
me know if you prefer that cherry-picked into 4.2.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to