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

   > Regarding the scenario with multiple batches:
   > 
   > * Offset 30 is a bad record
   > * We have two batches: 0-100 (delivery count = 3) and 100-200 (delivery 
count = 0)
   > 
   > After the first acquisition fails and we retry by fetching half of the 
first batch (0-50), if we haven't reached maxFetchRecords yet, should we:
   > 
   > * Continue and fetch data from the second batch (100-200), or
   > * Return immediately with just the 0-50 data?
   
   I think we should only deal with single batch in these scenarios.
   
   


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