You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/10/01 16:45:00 UTC

[jira] [Commented] (KAFKA-7463) ConsoleProducer rejects producer property values with equals signs

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

Manikumar commented on KAFKA-7463:
----------------------------------

This might have fixed in KAFKA-7388.

> 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
>            Priority: Major
>
> 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)