You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/05/18 02:15:49 UTC

[GitHub] [kafka] dengziming commented on a diff in pull request #12175: Allow to pass a config file in ConsoleProducer & ConsoleConsumer for multiple '--property'

dengziming commented on code in PR #12175:
URL: https://github.com/apache/kafka/pull/12175#discussion_r875406021


##########
core/src/main/scala/kafka/tools/ConsoleConsumer.scala:
##########
@@ -248,6 +248,10 @@ object ConsoleConsumer extends Logging {
       .withRequiredArg
       .describedAs("prop")
       .ofType(classOf[String])
+    val messageFormatterConfigOpt = parser.accepts("config", s"Config properties file to initialize the message formatter. Note that $messageFormatterArgOpt takes precedence over this config.")

Review Comment:
   We already have an --consumer.config argument for properties file in `ConsoleConsumer`



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org