You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2017/02/10 03:03:41 UTC
[jira] [Commented] (KAFKA-4754) Correctly parse '=' characters in
command line overrides
[ https://issues.apache.org/jira/browse/KAFKA-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860597#comment-15860597 ]
Grant Henke commented on KAFKA-4754:
------------------------------------
Its worth noting, it was also possible to echo out passwords on any error in this code path via CommandLineUtils.parseKeyValueArgs:
{noformat}
System.err.println("Invalid command line properties: " + args.mkString(" "))
{noformat}
> Correctly parse '=' characters in command line overrides
> --------------------------------------------------------
>
> Key: KAFKA-4754
> URL: https://issues.apache.org/jira/browse/KAFKA-4754
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.9.0.0
> Reporter: Grant Henke
> Assignee: Grant Henke
>
> When starting Kafka with an override parameter via "--override my.parameter=myvalue".
> If a value contains an '=' character it fails and exits with "Invalid command line properties:.."
> Often passwords contain an '=' character so its important to support that value.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)