jolshan commented on a change in pull request #9944: URL: https://github.com/apache/kafka/pull/9944#discussion_r651335121
########## File path: clients/src/main/java/org/apache/kafka/clients/consumer/internals/Fetcher.java ########## @@ -283,14 +290,18 @@ public void onSuccess(ClientResponse resp) { fetchTarget.id()); return; } - if (!handler.handleResponse(response)) { + if (!handler.handleResponse(response, maxVersion)) { Review comment: I see what you mean. It is a little tricky to get the version from the FetchResponse itself. Would `resp.requestHeader().apiVersion()` 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org