MINOR: clarify partition option behavior for console consumer
Console Consumer help doesn't say that ``--partition`` option needs ``--offset`` otherwise will consume from the end of the partition. This minor fix makes that happen.
Author: Dustin Cote
Reviewers: Ismael Juma
Closes from cotedm/console_consumer_help_fix
@@ -218,7 +218,8 @@ object ConsoleConsumer extends Logging {
.withRequiredArg
.describedAs("blacklist")
.ofType(classOf[String])
- val partitionIdOpt = parser.accepts("partition", "The partition to consume from.")
+ val partitionIdOpt = parser.accepts("partition", "The partition to consume from. Consumption " +
+ "starts from the end of the partition unless '--offset' is specified.")
.withRequiredArg
.describedAs("partition")
.ofType(classOf[java.lang.Integer])
