merlimat commented on issue #183:
URL: 
https://github.com/apache/pulsar-client-go/issues/183#issuecomment-940232857


   @flowchartsman In your example there would be no need to keep the message 
ids, you could use a Reader and do SeekByTime(): 
   
   ```
   // Reset the subscription associated with this consumer to a specific 
message publish time.
        //
        // Note: this operation can only be done on non-partitioned topics. For 
these, one can rather perform the seek() on
        // the individual partitions.
        //
        // @param timestamp
        //            the message publish time where to reposition the 
subscription
        //
        SeekByTime(time time.Time) error
   
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to