You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by da...@apache.org on 2022/08/16 13:44:18 UTC
[kafka] branch 3.3 updated: KAFKA-14148: Update ResetOffsetsDoc (#12491)
This is an automated email from the ASF dual-hosted git repository.
dajac pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.3 by this push:
new bfac783226 KAFKA-14148: Update ResetOffsetsDoc (#12491)
bfac783226 is described below
commit bfac783226e5eac3f423450a9d6fe2d504412552
Author: K8sCat <k8...@gmail.com>
AuthorDate: Tue Aug 16 21:40:24 2022 +0800
KAFKA-14148: Update ResetOffsetsDoc (#12491)
Reviewers: David Jacot <dj...@confluent.io>
---
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."