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

   > I also would like an additional test.
   > 
   > * Publish 2 records 0 and 1 in separate batches
   > * Consumer1 (explicit mode, record limit, max poll = 1) fetches record 0 
and does not yet ack
   > * Consumer2 (explicit mode, record limit, max poll = 2) fetches record 1 
and releases it repeatedly until the record is ready for its final delivery 
attempt
   > * Consumer1 release its record, but does not poll yet
   > * Consumer2 now again, but it gets record 0 only because record 1 is at 
its final delivery attempt and will no longer be combined with other records in 
its delivery, it accepts the record
   > * Consumer2 now again fetch and it gets record 1 for its final delivery 
attempt and accepts, and closes
   > * Consumer1 polls and finds no records
   > 
   > wdyt?
   
   Agree, it would be good test case. Added.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to