xvrl commented on a change in pull request #11008:
URL: https://github.com/apache/kafka/pull/11008#discussion_r667075504
##########
File path: core/src/main/scala/kafka/tools/ConsoleConsumer.scala
##########
@@ -191,9 +191,15 @@ object ConsoleConsumer extends Logging {
.withRequiredArg
.describedAs("topic")
.ofType(classOf[String])
- val whitelistOpt = parser.accepts("whitelist", "Regular expression
specifying whitelist of topics to include for consumption.")
+ val whitelistOpt = parser.accepts("whitelist",
+ "DEPRECATED, use --include instead; Regular expression specifying list
of topics to include for consumption.")
.withRequiredArg
- .describedAs("whitelist")
+ .describedAs("Java regex (String)")
+ .ofType(classOf[String])
+ val includeOpt = parser.accepts("include",
+ "LRegular expression specifying list of topics to include for
consumption.")
Review comment:
small typo
```suggestion
"Regular expression specifying list of topics to include for
consumption.")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]