wolfstudy opened a new pull request #5551: Fix docs about reset cursor
URL: https://github.com/apache/pulsar/pull/5551
 
 
   Signed-off-by: xiaolong.ran <[email protected]>
   
   ### Motivation
   
   `reset-cursor` docs missing.
   
   ### Modifications
   
   It's not documented in the [Pulsar admin 
CLI](http://pulsar.apache.org/docs/en/next/pulsar-admin/#reset-cursor), but 
`reset-cursor` also supports a `messageId` option.
   
   ```
   $ apache-pulsar-2.4.1/bin/pulsar-admin topics reset-cursor -h
   
   Reset position for subscription to position closest to timestamp or messageId
   Usage: reset-cursor [options] persistent://tenant/namespace/topic
     Options:
       --messageId, -m
          messageId to reset back to (ledgerId:entryId)
     * -s, --subscription
          Subscription to reset position on
       --time, -t
          time in minutes to reset back to (or minutes, hours,days,weeks eg: 
100m,
          3h, 2d, 5w)
   ```

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