Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[COMMON] update zookeeper from 3.8.1 to 3.9.1 #1846

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 controller 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
Loading