mileschao commented on issue #194: test case for consumer SeekByTime
URL: 
https://github.com/apache/pulsar-client-go/issues/194#issuecomment-599955522
 
 
   > > > > @mileschao - @wolfstudy can help look into this issue this week.
   > > > 
   > > > 
   > > > Sure, will try to reproduce and solve this issue
   > > 
   > > 
   > > I've try java client for seek by time, pulsar version 2.5.0.
   > > The same problem.
   > > so. I think it may be the bug of pulsar itself, not the client.
   > 
   > Hello @mileschao when you use `seekByTime`, you should use `PublishTime` 
of **Messages** interface to `seek`.
   > 
   > Currently, the test case set time is longer, which is equivalent to seek 
to earliest, so you will see that messages are consumed from the beginning. If 
you want to consume messages from the specified time, you can seek to the 
specified `PublishTime`.
   
   @wolfstudy 
   It is the `PublishTime` of message that have been used.
   It seems whatever the time it is,  consumer will receive the message from 
the earliest.
   
   just as comment I've noted before
   > Hi, It seems that, `SeekByTime` will consume from the earliest message of 
a topic, whatever the time it is.
   
   I think you can reproduce it :-)

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


With regards,
Apache Git Services

Reply via email to