3 Star 1 Fork 0

Gitee 极速下载 / OKLog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/oklog/oklog
克隆/下载
quickstart-combined.bash 688 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env bash
trap 'kill 0' SIGTERM
for i in `seq 1 3`
do
sleep 0.25
oklog ingeststore \
-api tcp://0.0.0.0:100${i}0 \
-ingest.fast tcp://0.0.0.0:100${i}1 \
-ingest.durable tcp://0.0.0.0:100${i}2 \
-ingest.bulk tcp://0.0.0.0:100${i}3 \
-cluster tcp://0.0.0.0:100${i}9 \
-store.segment-target-size 1000000 \
-store.segment-retain 30m \
-store.segment-purge 5m \
-ingest.path data/ingest/${i} \
-store.path data/store/${i} \
$PEERS 2>&1 | sed -e "s/^/[$i] /" &
PEERS="$PEERS -peer 127.0.0.1:100${i}9"
done
wait
Go
1
https://gitee.com/mirrors/OKLog.git
git@gitee.com:mirrors/OKLog.git
mirrors
OKLog
OKLog
master

搜索帮助