sambhav-jain-16 commented on PR #13646:
URL: https://github.com/apache/kafka/pull/13646#issuecomment-1527052521

   @sagarrao12 
   The `consumeAll` method consumes the available records at the moment we 
start consuming, i.e. It will store the end offsets initially before consuming 
and then start to consume up until the end offsets stored (for each partition).
   The `consume` method has no such restriction, it will consume until it 
receives the specified number of records or the timeout.
   .
   .
   What I suspect is happening is that when the method is initially storing the 
offsets of the partitions, the connector hasn't produced 100 records till then 
and therefore the method doesn't consume fully even though messages are being 
produced by the connector.


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