[ 
https://issues.apache.org/jira/browse/KAFKA-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573612#comment-16573612
 ] 

Manikumar commented on KAFKA-7257:
----------------------------------

To pass configs, we need to use  "--producer-property" or "–producer.config" 
options for kafka-console-producer.sh and
"--consumer-property" or "–consumer.config" options for 
kafka-console-consumer.sh.

kafka-console-consumer.sh: "-propery" option is used to pass properties for 
message formatter
kafka-console-producer.sh: "-propery" option is used to pass properties for 
user-defined message reader

> --property (silently) fails when configuring SSL parameters
> -----------------------------------------------------------
>
>                 Key: KAFKA-7257
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7257
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.11.0.1
>            Reporter: Andrew Pennebaker
>            Priority: Major
>
> The security.protocol, ssl.truststore.location, ssl.truststore.password, 
> ssl.protocol, and ssl.enabled.protocols keys appear to fail to propagate to 
> the `kafka_console_\{producer,consumer}.sh` scripts when configured using the 
> `--property` CLI flag, resulting in the producer/consumer silently failing to 
> pass messages through Kafka.
> As a workaround, I am explicitly configuring these keys in a ssl.properties 
> file, and supplying the path to the `--producer.config` 
> (`kafka_console_producer.sh`) and `--consumer.config` 
> (`kafka_console_consumer.sh`) flags.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to