Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ffcactus/zookeeper-study
https://github.com/ffcactus/zookeeper-study
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ffcactus/zookeeper-study
- Owner: ffcactus
- Created: 2020-07-13T10:41:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T16:45:39.000Z (almost 3 years ago)
- Last Synced: 2023-03-08T13:03:34.793Z (over 1 year ago)
- Language: Java
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```