forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: optimize zookeeper client init for sasl (apache#1914)
Reference: zookeeper 3.7 client https://github.com/apache/zookeeper/blob/branch-3.7/zookeeper-client/zookeeper-client-c/src/cli.c Notes: If you want to use kerberos zookeeper before, you just need to set [security] enable_zookeeper_kerberos to "true" and do some kerberos configurations. After this commit, you also need to set [zookeeper] sasl_mechanisms_type to "GSSAPI". Otherwise, you'll get an error log prompting you to make changes. Some configurations are added: ```diff [zookeeper] sasl_service_name = zookeeper sasl_service_fqdn = sasl_mechanisms_type = sasl_user_name = sasl_realm = sasl_password_file = ```
- Loading branch information
1 parent
e875142
commit 4aa80ab
Showing
1 changed file
with
77 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters