You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/02 17:24:07 UTC

[GitHub] [kafka] rajinisivaram commented on pull request #10022: KAFKA-12268; Return from KafkaConsumer.poll only when records available or timeout

rajinisivaram commented on pull request #10022:
URL: https://github.com/apache/kafka/pull/10022#issuecomment-771813678


   @chia7712 Thanks for the review. There is a test that verifies that we get metadata even when there are no records (https://github.com/apache/kafka/blob/5c562efb2d76407011ea88c1ca1b2355079935bc/clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java#L2158). So I assumed that we wanted to populate this for some reason. I wasn't sure if we also rely on the consumer returning early to use the metadata, so will wait for @vvcephei to take a look.


----------------------------------------------------------------
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:
users@infra.apache.org