Created
January 29, 2020 19:30
-
-
Save prabhatsharma/68baaa1af601bd33e456075ebf3db7f6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from kazoo.client import KazooClient | |
connection_string = "zookeeper-headless.zookeeper.svc.cluster.local:2181" | |
zk = KazooClient(hosts=connection_string) | |
zk.start() | |
zk.create("/aws/ec2/ebs/st1") | |
zk.stop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment