[Python] How to use kazoo client for leader election?

Discussão em 'Python' iniciado por Stack, Outubro 4, 2024.

  1. Stack

    Stack Membro Participativo

    This is the code mentioned on kazoo readthedocs

    election=zk.Election("/electionpath", "my-identifier")


    what are the input arguments to be passed to make particular node as leader? (i.e what does /electionpath and my-identifier refers here?)

    Continue reading...

Compartilhe esta Página