apoorvmittal10 commented on PR #19789:
URL: https://github.com/apache/kafka/pull/19789#issuecomment-2904002520

   
   > * One of the test failed due to a possible race condition
   >   in`waitedPoll()` where we expect 2 records and we get only 1 record on
   >   the first `poll()`. This record wasn't acknowledged before the next
   >   `poll()`
   
   Are we not doing producer.flush preior reading, Then why still we get subset 
of records in poll?
   
   >   I have added a separate function which will cumulate the records across
   
   Whynot to change the implementation of existing `waitdPoll` method?
   
   


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