You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Antony Stubbs (JIRA)" <ji...@apache.org> on 2017/11/26 11:33:01 UTC
[jira] [Updated] (KAFKA-6270) ProducerPerformance doesn't support
setting sasl.jaas.config as a --producer-props
[ 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)