Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for clustered (multi-server) setup #1

Merged
merged 2 commits into from
Jun 1, 2021

Conversation

m-revetria
Copy link

Description of the change

Note: upgrade ZooKeeper version to 3.4.14

This PR adds support for setting up a clustered ZooKeeper instance. In order to setup a ZooKeeper ensemble next env variables must be provided when running a container:

  • SERVER_ID: the ID associated to the ZooKeeper server running in the container (myid's file content).
  • SERVERS: comma separated value with all the hosts that form the ensemble, for example:
    server.1=zoo1:2888:3888,server.2=zoo2:2888:3888,server.3=zoo3:2888:3888
    

Additionally, a sample docker-compose.yaml file is included to setup a ensemble with 3 nodes.

@knokio
Copy link

knokio commented May 13, 2021

Let's get back to this PR

@knokio
Copy link

knokio commented Jun 1, 2021

Can I merge this PR @romming ?

@romming
Copy link

romming commented Jun 1, 2021

Yeah, sounds good!

@knokio knokio merged commit 7f53483 into master Jun 1, 2021
@knokio knokio deleted the dev/clustered-setup-support-167151137 branch June 1, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants