Skip to content

Zoolection is a minimal implementation of leader-election in Go with the help of Apache Zookeeper.

Notifications You must be signed in to change notification settings

shivanshkc/zoolection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoolection

Zoolection is a minimal implementation of leader-election in Go with the help of Apache Zookeeper.

Instructions

  • Running the zookeeper cluster:
    • With docker compose: docker compose up -d
    • With docker or podman: bash zookeeper.sh
  • Run a few instances of the application using go run . across different terminals. One of them should get elected as the leader.
  • Close the instance that is the leader and see another instance get elected.

About

Zoolection is a minimal implementation of leader-election in Go with the help of Apache Zookeeper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published