假设我们有3个用户: user-1:password-1 user-2:password-2 user-3:password-3 要注意的一件事是,必须先使用 addauth 命令,然后才能继续使用 Auth 但是 user-3:password-3 这个普通用户,就无法通过权限验证了。 参考: Apache ZooKeeper – Setting ACL in ZooKeeper Client