mattisonchao opened a new pull request, #14887: URL: https://github.com/apache/pulsar/pull/14887
### Motivation Currently, we do not support resetting the cursor position on the cluster replicator. After the check, I think we could support it based on ``PersistentTopics#resetCursorOnPosition``. #### Usage **Admin** ```java admin1.topics().resetCursor(topicName.toString(), "pulsar.repl.r2", new MessageIdImpl(0,0,-1)); ``` **cli** ```bash bin/pulsar-admin topics reset-cursor -s pulsar.repl.r2 -m 0:0:-1 persistent://xxxx/xx/xxx ``` ### Modifications - Support for resetting cluster replicator cursor based on ``PersistentTopics#resetCursorOnPosition`` method ### Verifying this change - [x] Make sure that the change passes the CI checks. ### Does this pull request potentially affect one of the following parts: - The admin cli options: (yes) ### Documentation - [x] `doc-required` -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org