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/07/07 07:47:24 UTC

[GitHub] [kafka] zigarn commented on a diff in pull request #12175: KIP-840: Config file option for MessageReader/MessageFormatter in ConsoleProducer/ConsoleConsumer

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


##########
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:
   `--consumer.config` is to setup the consumer, this is to setup the message formatter.
   It the same difference as `--consumer-property` and `--property`.



-- 
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