vvcephei commented on a change in pull request #10022: URL: https://github.com/apache/kafka/pull/10022#discussion_r569062203
########## File path: clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java ########## @@ -1236,7 +1236,7 @@ public void assign(Collection<TopicPartition> partitions) { } final FetchedRecords<K, V> records = pollForFetches(timer); - if (!records.isEmpty()) { + if (!records.records().isEmpty()) { Review comment: I made this change so that we would immediately send off the next round of fetches after handling _any_ fetch responses, not just any fetch responses that contain records. Was my reasoning incorrect? ---------------------------------------------------------------- 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