BewareMyPower commented on a change in pull request #12302:
URL: https://github.com/apache/pulsar/pull/12302#discussion_r725488135
##########
File path:
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java
##########
@@ -778,6 +778,14 @@ void run() throws PulsarAdminException {
description = "Exclude the reset position, start consume
messages from the next position.", required = false)
private boolean excludeResetPosition = false;
+ @Parameter(names = { "-ea", "--earliest" },
+ description = "reset back to earliest messageId", required =
false)
+ private boolean resetToEarliest = false;
+
+ @Parameter(names = { "-la", "--latest" },
+ description = "reset back to latest messageId", required =
false)
+ private boolean resetToLatest = false;
Review comment:
In Pulsar's case, we can support `earliest`, `latest` and some format
that represents a message id in future.
--
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]