dajac commented on code in PR #19704:
URL: https://github.com/apache/kafka/pull/19704#discussion_r2087068751


##########
clients/src/main/java/org/apache/kafka/common/requests/OffsetFetchResponse.java:
##########
@@ -239,4 +240,31 @@ public OffsetFetchResponseData data() {
     public boolean shouldClientThrottle(short version) {
         return version >= 4;
     }
+
+    public static OffsetFetchResponseData.OffsetFetchResponseGroup groupError(
+        OffsetFetchRequestData.OffsetFetchRequestGroup group,
+        Errors error,
+        int version
+    ) {
+        if (version >= TOP_LEVEL_ERROR_AND_NULL_TOPICS_MIN_VERSION) {

Review Comment:
   Good point. That code does not work anyway. This is how I found out about 
this bug.



-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to