小编sha*_*han的帖子

如何使用kazoo客户端进行领导者选举?

这是kazoo readthedocs上提到的代码

election=zk.Election("/electionpath", "my-identifier")
Run Code Online (Sandbox Code Playgroud)

将特定节点作为领导者传递的输入参数是什么?(即/ electionpath和my-identifier在这里指的是什么?)

python kazoo apache-zookeeper apache-curator

10
推荐指数
1
解决办法
1281
查看次数

标签 统计

apache-curator ×1

apache-zookeeper ×1

kazoo ×1

python ×1