SOHU-Co/kafka-node

Adding SASL users dynamically without cluster restart

jiovanmichel opened this issue · 0 comments

Case

How can i create dynamically multiple user_access = "password" and add the configuration in the server.properties file without restarting Kafka.

I using SASL / PLAIN

Example with SASL / SCRAM

bin/kafka-configs.sh --zookeeper localhost:2181 --alter --add-config 'SCRAM-SHA-256=[iterations=8192,password=alice-secret],SCRAM-SHA-512=[password=alice-secret]' --entity-type users --entity-name alice

Any example of how to add using SASL / PLAIN?