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 2021/10/12 00:57:08 UTC
[GitHub] [pulsar] hangc0276 commented on a change in pull request #12302: reset-cursor support earliest or latest
hangc0276 commented on a change in pull request #12302:
URL: https://github.com/apache/pulsar/pull/12302#discussion_r726683375
##########
File path: pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java
##########
@@ -778,6 +778,10 @@ void run() throws PulsarAdminException {
description = "Exclude the reset position, start consume messages from the next position.", required = false)
private boolean excludeResetPosition = false;
+ @Parameter(names = { "-o", "--offset" },
+ description = "reset back to earliest or latest offset", required = false)
+ private String offset;
Review comment:
We'd better merge it into `--messageId` and add description for alternative values.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org