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

Manikumar commented on KAFKA-7746:
----------------------------------

Can you try below format?

{code}
bin/kafka-configs.sh --bootstrap-server localhost:9092 --entity-type brokers 
--entity-name 0 --alter --add-config 
listener.name.sasl_ssl.scram-sha-256.sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule
 required \
    username="admin" \
    password="admin-secret"
{code}

> sasl.jaas.config dynamic broker configuration does not accept "=" in value
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-7746
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7746
>             Project: Kafka
>          Issue Type: Bug
>          Components: config, security
>            Reporter: Tom Scott
>            Priority: Minor
>
> In KIP-226 it give an example of setting sasl.jaas.config using dynmaic 
> broker configuration:
> [https://cwiki.apache.org/confluence/display/KAFKA/KIP-226+-+Dynamic+Broker+Configuration#KIP-226-DynamicBrokerConfiguration-NewBrokerConfigurationOption]
>  
> However, as most SASL module configurations contain the "=" symbol this ends 
> up with the error:
>  
> {code:java}
> requirement failed: Invalid entity config: all configs to be added must be in 
> the format “key=val”.{code}
>  
> I have tried various escape sequences but have not so far been successful.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to