Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ffcactus/zookeeper-study


https://github.com/ffcactus/zookeeper-study

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# zookeeper-study
A project to study how to use zookeeper.

## How to build
The root pom.xml will use ${JAVA_X_HOME} in maven-compiler-plugin, so you need enable profile settings
in your settings.xml like the following example:

```xml



compiler

C:\Program Files\Java\j2sdk1.4.2_09
C:\Program Files\Java\j2sdk1.6.0_18




compiler

```

## How to deploy
```shell script
## use docker service to work with hostname resolution.
docker swarm init
## deploy it.
docker stack deploy -c deploy/stack.yml zookeeper
## undeploy it.
docker stack rm zookeeper
```