Skip to content

Commit

Permalink
Two quickstart modes
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Jan 24, 2017
1 parent 64b82ee commit e1fef80
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions quickstart-combined.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/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
File renamed without changes.

0 comments on commit e1fef80

Please sign in to comment.