https://github.com/ffcactus/zookeeper-study
https://github.com/ffcactus/zookeeper-study
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ffcactus/zookeeper-study
- Owner: ffcactus
- Created: 2020-07-13T10:41:21.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-04T16:45:39.000Z (over 3 years ago)
- Last Synced: 2025-01-02T03:19:00.918Z (6 months 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
```