This is an automated email from the ASF dual-hosted git repository.

dajac pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ad96406e9b KAFKA-14148: Update ResetOffsetsDoc (#12491)
ad96406e9b is described below

commit ad96406e9b807ef289130f00d4571cdc2502ba4e
Author: K8sCat <[email protected]>
AuthorDate: Tue Aug 16 21:40:24 2022 +0800

    KAFKA-14148: Update ResetOffsetsDoc (#12491)
    
    Reviewers: David Jacot <[email protected]>
---
 core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala 
b/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
index d5aee881c9..8cc056f617 100755
--- a/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
+++ b/core/src/main/scala/kafka/admin/ConsumerGroupCommand.scala
@@ -988,8 +988,8 @@ object ConsumerGroupCommand extends Logging {
     val ResetOffsetsDoc = "Reset offsets of consumer group. Supports one 
consumer group at the time, and instances should be inactive" + nl +
       "Has 2 execution options: --dry-run (the default) to plan which offsets 
to reset, and --execute to update the offsets. " +
       "Additionally, the --export option is used to export the results to a 
CSV format." + nl +
-      "You must choose one of the following reset specifications: 
--to-datetime, --by-period, --to-earliest, " +
-      "--to-latest, --shift-by, --from-file, --to-current." + nl +
+      "You must choose one of the following reset specifications: 
--to-datetime, --by-duration, --to-earliest, " +
+      "--to-latest, --shift-by, --from-file, --to-current, --to-offset." + nl +
       "To define the scope use --all-topics or --topic. One scope must be 
specified unless you use '--from-file'."
     val DryRunDoc = "Only show results without executing changes on Consumer 
Groups. Supported operations: reset-offsets."
     val ExecuteDoc = "Execute operation. Supported operations: reset-offsets."

Reply via email to