Added general explanation of the tool and what it does. Also added few details to the arguments.
Author: Gwen Shapira <cshapi@gmail.com>
Reviewers: Matthias J. Sax, Michael G. Noll, Guozhang Wang
Closes#2503 from gwenshap/KAFKA-4733
@ -138,12 +138,12 @@ public class StreamsResetter {
@@ -138,12 +138,12 @@ public class StreamsResetter {
.ofType(String.class)
.defaultsTo("localhost:2181")
.describedAs("url");
inputTopicsOption=optionParser.accepts("input-topics","Comma-separated list of user input topics")
inputTopicsOption=optionParser.accepts("input-topics","Comma-separated list of user input topics. For these topics, the tool will reset the offset to the earliest available offset.")
.withRequiredArg()
.ofType(String.class)
.withValuesSeparatedBy(',')
.describedAs("list");
intermediateTopicsOption=optionParser.accepts("intermediate-topics","Comma-separated list of intermediate user topics")
intermediateTopicsOption=optionParser.accepts("intermediate-topics","Comma-separated list of intermediate user topics (topics used in the through() method). For these topics, the tool will skip to the end.")
.withRequiredArg()
.ofType(String.class)
.withValuesSeparatedBy(',')
@ -152,7 +152,7 @@ public class StreamsResetter {
@@ -152,7 +152,7 @@ public class StreamsResetter {
try{
options=optionParser.parse(args);
}catch(finalOptionExceptione){
optionParser.printHelpOn(System.err);
printHelp(optionParser);
throwe;
}
}
@ -271,6 +271,26 @@ public class StreamsResetter {
@@ -271,6 +271,26 @@ public class StreamsResetter {