[ 
https://issues.apache.org/jira/browse/KAFKA-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antony Stubbs updated KAFKA-6270:
---------------------------------
    Description: 
I seems the parser expects everything to strictly be key=value pairs, where as 
sasl.jaas.config is key="preamble key=value key=value"

Exception in thread "main" java.lang.IllegalArgumentException: Invalid 
property: 
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule 
required username='user' password='user-secret'";
        at 
org.apache.kafka.tools.ProducerPerformance.main(ProducerPerformance.java:99)

  was:
I seems the parser expects everything to strictly be key=value pairs, where as 
sasl.jaas.config is key="preamble key=value key=value"

{{Exception in thread "main" java.lang.IllegalArgumentException: Invalid 
property: 
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule 
required username='user' password='user-secret'";
        at 
org.apache.kafka.tools.ProducerPerformance.main(ProducerPerformance.java:99)}}


> ProducerPerformance doesn't support setting sasl.jaas.config as a 
> --producer-props
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-6270
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6270
>             Project: Kafka
>          Issue Type: Bug
>          Components: tools
>    Affects Versions: 0.11.0.1
>            Reporter: Antony Stubbs
>
> I seems the parser expects everything to strictly be key=value pairs, where 
> as sasl.jaas.config is key="preamble key=value key=value"
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid 
> property: 
> sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule 
> required username='user' password='user-secret'";
>       at 
> org.apache.kafka.tools.ProducerPerformance.main(ProducerPerformance.java:99)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to