aloyszhang opened a new pull request #7848:
URL: https://github.com/apache/pulsar/pull/7848


   
   
   Fixes #7796 
   
   ### Motivation
   This PR takes seek time into account in Reader#hasMessageAvailable.
   
   
   ### Modifications
   
   1.  mark the timestamp in `Reader` whenever `seek(timestamp)`
   2. compare the marked timestamp with the publish time of last messag to 
decide `Reader#hasMessageAvailable`  give true or false
   


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


Reply via email to