You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/03 18:30:54 UTC

[GitHub] [pulsar] sijie opened a new issue #3975: Failed to reset subscription: Message id was not present

sijie opened a new issue #3975: Failed to reset subscription: Message id was not present
URL: https://github.com/apache/pulsar/issues/3975
 
 
   **Describe the bug**
   
   Currently Reader doesn't support seek-by-time. User has to down cast to get to consumer.seek and perform the cursor adjustment
   
   ```
   ((ReaderImpl) reader).getConsumer().seekAsync(RelativeTimeUtil.parseRelativeTimeInSeconds("-10m"));
   ```
   
   But it always seems to come up with “Failed to reset subscription: Message id was not present”
   
   **Expected behavior**
   
   It should position at the first message whose timestamp is larger than or equal to the provided timestamp.
   
   **Additional context**
   
   N/A

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services