chia7712 commented on pull request #9590:
URL: https://github.com/apache/kafka/pull/9590#issuecomment-730231950


   (I'm still reading this story so pardon me for asking stupid question.)
   
   If using timestamp=0 can bring correct offset, why not following that way to 
handle ```ListOffsetRequest.EARLIEST_TIMESTAMP```? For example, 
(https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/log/Log.scala#L1643)
 if timestamp is equal to ```ListOffsetRequest.EARLIEST_TIMESTAMP```, we pass 0 
to find offset. Does it work?
   
   
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to