zkcmd
Zookeeper Commander.
Command-line program for zkhatchery
Installation
npm i coffee-script -g
npm i zkcmd -g
How to use
Run zkcmd
.job file
A job is defiend by .job file. You have to insert a job by .job file. See the grammer below.
REQUIRE eventbus
REQUIRE webdb
EXISTS 3
RUN
#!/bin/bash
export ZK_PORT=tcp://127.0.0.1:2181
export REDIS_PORT=tcp://127.0.0.1:6379
coffee server/index.coffee
- REQUIRE : Dependency setting command.
- EXISTS : Command that Set the number of requested server instances.
- RUN : Shell-script command. Must be the last command.