项目
在 GitHub 查看
ksprojects/zkcopy
关于
ZooKeeper copy utililty
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文zkcopy
Tool for fast copying ZooKeeper data between different clusters. Originally it was developed for copying big volumes of configuration over WAN.
Build
Requires apache maven 3.
mvn clean install
Usage
java -jar target/zkcopy.jar --source server:port/path --target server:port/path
With docker, use following commands:
docker pull ksprojects/zkcopy
docker run --rm -it ksprojects/zkcopy --source server:port/path --target server:port/path
Options
Usage: zkcopy [-ci] [--help] [--timeout=<sessionTimeout>] [-b=<batchSize>]
[-m=<mtime>] -s=server:port/path -t=server:port/path
[-w=<workers>]
--help display this help and exit
--timeout=<sessionTimeout>
Session timeout in milliseconds
Default: 40000
-b, --batchSize=<batchSize> Batch write operations into transactions of this
many operations. Batch sizes are limited by the
jute.maxbuffer server-side config, usually
around 1 MB.
Default: 1000
-c, --copyOnly[=<copyOnly>] set this flag if you do not want to remove nodes
that are removed on source
-i, --ignoreEphemeralNodes[=<ignoreEphemeralNodes>]
set this flag to false if you do not want to copy
ephemeral ZNodes
-m, --mtime=<mtime> Ignore nodes older than mtime
Default: -1
-s, --source=server:port/path
location of a source tree to copy
-t, --target=server:port/path
target location
-w, --workers=<workers> number of concurrent workers to copy data
Default: 100
探索相关项目
加载中…