Magnus Reftel created KAFKA-7463:
------------------------------------
Summary: ConsoleProducer rejects producer property values with
equals signs
Key: KAFKA-7463
URL: https://issues.apache.org/jira/browse/KAFKA-7463
Project: Kafka
Issue Type: Bug
Affects Versions: 2.0.0
Reporter: Magnus Reftel
The --producer-property option of ConsoleProducer rejects proprty values with
equals signs with the message "Invalid command line properties". This makes
specifying SASL configuration via the the sasl.jaas.config property difficult,
since these values often contain equals signs. It's possible to work around the
issue by writing the SASL configuration to a separate file, and then specifying
it via
{code:java}
KAFKA_OPTS=-Djava.security.auth.login.config=$filename{code}
but there seems to be no good reason to not allow the more direct route.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)