You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2018/03/21 23:25:09 UTC
[kafka] branch trunk updated: MINOR: remove obsolete warning in
StreamsResetter (#4749)
This is an automated email from the ASF dual-hosted git repository.
mjsax 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 f0a29a6 MINOR: remove obsolete warning in StreamsResetter (#4749)
f0a29a6 is described below
commit f0a29a693548efe539cba04807e21862c8dfc1bf
Author: Matthias J. Sax <mj...@apache.org>
AuthorDate: Wed Mar 21 16:24:59 2018 -0700
MINOR: remove obsolete warning in StreamsResetter (#4749)
Reviewer: Guozhang Wang <gu...@confluent.io>
---
core/src/main/scala/kafka/tools/StreamsResetter.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/core/src/main/scala/kafka/tools/StreamsResetter.java b/core/src/main/scala/kafka/tools/StreamsResetter.java
index f88fce7..b0d5276 100644
--- a/core/src/main/scala/kafka/tools/StreamsResetter.java
+++ b/core/src/main/scala/kafka/tools/StreamsResetter.java
@@ -226,12 +226,6 @@ public class StreamsResetter {
CommandLineUtils.printUsageAndDie(optionParser, "Only one of --dry-run and --execute can be specified");
}
- if (!options.has(executeOption) && !options.has(dryRunOption)) {
- System.err.println("WARN: In a future major release, the default behavior of this command will be to " +
- "prompt the user before executing the reset. You should add the --execute option explicitly if " +
- "you are scripting this command and want to keep the current default behavior without prompting.");
- }
-
scala.collection.immutable.HashSet<OptionSpec<?>> allScenarioOptions = new scala.collection.immutable.HashSet<>();
allScenarioOptions.$plus(toOffsetOption);
allScenarioOptions.$plus(toDatetimeOption);
--
To stop receiving notification emails like this one, please contact
mjsax@apache.org.