[ https://issues.apache.org/jira/browse/KAFKA-8010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16782622#comment-16782622 ]
Kartik commented on KAFKA-8010: ------------------------------- Hi [~mimaison] , If you check the *ConfigCommand.scala* code under "*kafka\core\src\main\scala\kafka\admin"*, It expects add-config to be provided in single quotes, Since you are providing add-config *"*sasl.jaas.config=KafkaServer <data>*"* under double quotes, it's failing. Command : ./kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers --entity-name 59 --alter --add-config *{color:#333333}'{color}*sasl.jaas.config=KafkaServer <data>*'* Can you try the same? Thanks. > kafka-configs.sh does not allow setting config with an equal in the value > ------------------------------------------------------------------------- > > Key: KAFKA-8010 > URL: https://issues.apache.org/jira/browse/KAFKA-8010 > Project: Kafka > Issue Type: Bug > Components: tools > Reporter: Mickael Maison > Priority: Major > > The sasl.jaas.config typically includes equals in its value. Unfortunately > the kafka-configs tool does not parse such values correctly and hits an error: > ./kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers > --entity-name 59 --alter --add-config "sasl.jaas.config=KafkaServer \{\n > org.apache.kafka.common.security.plain.PlainLoginModule required\n > username=\"myuser\"\n password=\"mypassword\";\n};\nClient \{\n > org.apache.zookeeper.server.auth.DigestLoginModule required\n > username=\"myuser2\"\n password=\"mypassword2\;\n};" > requirement failed: Invalid entity config: all configs to be added must be in > the format "key=val" -- This message was sent by Atlassian JIRA (v7.6.3#76005)