kamalcph commented on PR #15060:
URL: https://github.com/apache/kafka/pull/15060#issuecomment-1879987059

   > In general this is happening because The next fetch request offset 
increments only when there is a record list. But the Remote fetch 
implementation by default if not able to find the records sents Empty Records.
   
   Empty records response is sent back to the consumer so that it can retry the 
request if needed. In a non-compacted topic, the records are expected to be 
present in the contiguous manner. 
   
   Shall we list the scenarios where the record offsets won't be in contiguous 
manner for regular (non-compacted) topic (or) write a unit test to reproduce 
this problem?


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