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

   > @iit2009060 In step 7, it is anticipated that setting the fetch offset to 
1 should follow the specified process to trigger an `OutOfOffsetRangeError` 
with empty records as I mentioned 
[earlier](https://github.com/apache/kafka/pull/15060#issuecomment-1882487316).
   > 
   > > I will try with from-beginning option and update the behaviour.
   > 
   > Sure.
   > 
   > > Even for the latest configuration it should work?
   > 
   > `latest` option also should work. To validate this, run the step with the 
`latest` setting and concurrently run `kafka-console-producer`, generating 
additional messages beyond the latest offset where the `OutOfOffsetRangeError` 
was encountered. Subsequently, the consumer should be able to consume the newly 
produced sequence of messages.
   
   @satishd  I will try to write a integration or unit test to depicts the 
scenario I mentioned. However as far I noticed ,the  additional messages I 
reproduced in step 5 were not able to retrieve with fetch offset 1 request  and 
were able to proceed with offset 6.


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