wolfstudy edited a comment on issue #194: test case for consumer SeekByTime URL: https://github.com/apache/pulsar-client-go/issues/194#issuecomment-599886594 > > > @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`.
---------------------------------------------------------------- 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
