chia7712 commented on code in PR #19388:
URL: https://github.com/apache/kafka/pull/19388#discussion_r2044417737


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/FetchCollector.java:
##########
@@ -263,21 +260,10 @@ private CompletedFetch handleInitializeSuccess(final 
CompletedFetch completedFet
         Iterator<? extends RecordBatch> batches = 
FetchResponse.recordsOrFail(partition).batches().iterator();
 
         if (!batches.hasNext() && FetchResponse.recordsSize(partition) > 0) {
-            if (completedFetch.requestVersion < 3) {

Review Comment:
   `requestVersion` is useless now. could you please remove it as well?



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