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

kaushik srinivas edited comment on KAFKA-8010 at 3/23/21, 6:52 AM:
-------------------------------------------------------------------

Hi [~enether]

Can you please share an example command with square brackets for sasl jaas 
config usage ?

Also can you point out to documentation updates. we still have this issue.

 

Also if the kafka broker is already sasl enabled with let us assume PLAIN 
mechanism ,how can we update the sasl jaas config without passing any 
credentials with kafka-configs script as client to kafka broker ?

 


was (Author: kaushik srinivas):
Hi [~enether]

Can you please share an example command with square brackets for sasl jaas 
config usage ?

Also can you point out to documentation updates. we still have this issue.

 

> 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
>         Attachments: image-2019-03-05-19-45-47-168.png
>
>
> 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
(v8.3.4#803005)

Reply via email to