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


##########
clients/src/main/java/org/apache/kafka/common/requests/OffsetCommitRequest.java:
##########
@@ -57,8 +55,22 @@ public Builder(OffsetCommitRequestData data) {
         public OffsetCommitRequest build(short version) {
             if (data.groupInstanceId() != null && version < 7) {
                 throw new UnsupportedVersionException("The broker offset 
commit protocol version " +
-                        version + " does not support usage of config 
group.instance.id.");
+                    version + " does not support usage of config 
group.instance.id.");
             }
+
+            data.topics().forEach(topic -> {

Review Comment:
   I think that we could remove those checks now.



-- 
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