Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
chia7712 committed Mar 8, 2024
1 parent 4bc880b commit 7cbd072
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docker/start_broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ declare -r IMAGE_NAME="ghcr.io/${ACCOUNT}/astraea/broker:$VERSION"

function showHelp() {
echo "Usage: [ENV] start_broker.sh [ ARGUMENTS ]"
echo "Required Argument: "
echo " zookeeper.connect=node:22222 set zookeeper connection"
echo "Required Argument (zk mode): "
echo " zookeeper.connect=node:22222 set zookeeper connection"
echo "Required Argument (kraft mode): "
echo " controller.quorum.voters=12310@node:14335 set zookeeper connection"
echo "Optional Arguments: "
echo " num.io.threads=10 set broker I/O threads"
echo " num.network.threads=10 set broker network threads"
Expand Down
4 changes: 2 additions & 2 deletions docker/start_zookeeper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare -r DOCKER_FOLDER=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null
source $DOCKER_FOLDER/docker_build_common.sh

# ===============================[global variables]===============================
declare -r VERSION=${VERSION:-3.8.1}
declare -r VERSION=${VERSION:-3.9.1}
declare -r REPO=${REPO:-ghcr.io/skiptests/astraea/zookeeper}
declare -r IMAGE_NAME="$REPO:$VERSION"
declare -r ZOOKEEPER_PORT=${ZOOKEEPER_PORT:-"$(getRandomPort)"}
Expand All @@ -40,7 +40,7 @@ function showHelp() {
echo "Usage: [ENV] start_zookeeper.sh"
echo "ENV: "
echo " REPO=astraea/zk set the docker repo"
echo " VERSION=3.8.1 set version of zookeeper distribution"
echo " VERSION=3.9.1 set version of zookeeper distribution"
echo " BUILD=false set true if you want to build image locally"
echo " RUN=false set false if you want to build/pull image only"
echo " DATA_FOLDER=/tmp/folder1 set host folders used by zookeeper"
Expand Down

0 comments on commit 7cbd072

Please sign in to comment.