kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mj...@apache.org
Subject [kafka] branch 1.1 updated: MINOR: remove obsolete warning in StreamsResetter (#4749)
Date Wed, 21 Mar 2018 23:25:59 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/1.1 by this push:
     new d7577b4  MINOR: remove obsolete warning in StreamsResetter (#4749)
d7577b4 is described below

commit d7577b435e23249fa7bb39af3377b10587b4efec
Author: Matthias J. Sax <mjsax@apache.org>
AuthorDate: Wed Mar 21 16:24:59 2018 -0700

    MINOR: remove obsolete warning in StreamsResetter (#4749)
    
    Reviewer: Guozhang Wang <guozhang@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 31c69ee..304993b 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.

Mime
View raw message