go-zookeeper / zk

Native ZooKeeper client for Go
BSD 3-Clause "New" or "Revised" License
515 stars 130 forks source link

How do I connect to Zookeeper if it uses sasl authentication #139

Open YJiWei opened 5 months ago

YJiWei commented 5 months ago

How do I connect to Zookeeper if it uses sasl authentication Zookeeper config eg: authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider requireClientAuthScheme=sasl jaasLoginRenew=3600000 zookeeper.sasl.client=true sessionRequireClientSASLAuth=true

sozenh commented 4 months ago

Have you found a solution? @YJiWei

tantra35 commented 2 months ago

@YJiWei you may use another fork where sasl is supported https://github.com/cloudzk/go-zookeeper, this fork try to do PR https://github.com/go-zookeeper/zk/pull/43 but it wasn't applied