From 7cbd072d8baff7518c96d468268e8d7e57a259d5 Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Sat, 9 Mar 2024 01:42:19 +0800 Subject: [PATCH] tmp --- docker/start_broker.sh | 6 ++++-- docker/start_zookeeper.sh | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/start_broker.sh b/docker/start_broker.sh index 59ab403726..e504ae6097 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -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" diff --git a/docker/start_zookeeper.sh b/docker/start_zookeeper.sh index fb5931a2df..db9defd879 100755 --- a/docker/start_zookeeper.sh +++ b/docker/start_zookeeper.sh @@ -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)"} @@ -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"