dajac commented on code in PR #13240: URL: https://github.com/apache/kafka/pull/13240#discussion_r1129066723
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinator.java: ########## @@ -1352,8 +1370,22 @@ public void handle(OffsetCommitResponse commitResponse, RequestFuture<Void> futu Set<String> unauthorizedTopics = new HashSet<>(); for (OffsetCommitResponseData.OffsetCommitResponseTopic topic : commitResponse.data().topics()) { + String topicName = topic.name(); + + if (commitResponse.version() >= 9) { Review Comment: @Hangleton I had a deeper look into this and it seems that we could get the version with `this.response.requestHeader().apiVersion()`. Could you check if this would work? -- 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