Skip to content

Commit

Permalink
[COMMON] upgrade kafka from 3.8.0 to 3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chia7712 committed Nov 2, 2024
1 parent ed256f7 commit 8fc7470
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docker/start_broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source $DOCKER_FOLDER/docker_build_common.sh
declare -r ACCOUNT=${ACCOUNT:-opensource4you}
declare -r VERSION=${VERSION:-main}
declare -r KAFKA_ACCOUNT=${KAFKA_ACCOUNT:-apache}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.0}}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.1}}
declare -r DOCKERFILE=$DOCKER_FOLDER/broker.dockerfile
declare -r DATA_FOLDER_IN_CONTAINER_PREFIX="/tmp/log-folder"
declare -r EXPORTER_VERSION="0.16.1"
Expand Down Expand Up @@ -65,7 +65,7 @@ function showHelp() {
echo " ACCOUNT=opensource4you set the github account for astraea repo"
echo " HEAP_OPTS=\"-Xmx2G -Xms2G\" set broker JVM memory"
echo " KAFKA_REVISION=trunk set revision of kafka source code to build container"
echo " KAFKA_VERSION=3.8.0 set version of kafka distribution"
echo " KAFKA_VERSION=3.8.1 set version of kafka 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_FOLDERS=/tmp/folder1 set host folders used by broker"
Expand Down
4 changes: 2 additions & 2 deletions docker/start_controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source $DOCKER_FOLDER/docker_build_common.sh
# ===============================[global variables]===============================
declare -r ACCOUNT=${ACCOUNT:-opensource4you}
declare -r KAFKA_ACCOUNT=${KAFKA_ACCOUNT:-apache}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.0}}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.1}}
declare -r DOCKERFILE=$DOCKER_FOLDER/controller.dockerfile
declare -r EXPORTER_VERSION="0.16.1"
declare -r CLUSTER_ID=${CLUSTER_ID:-"$(randomString)"}
Expand Down Expand Up @@ -75,7 +75,7 @@ function showHelp() {
echo " ACCOUNT=opensource4you set the github account for astraea repo"
echo " HEAP_OPTS=\"-Xmx2G -Xms2G\" set controller JVM memory"
echo " KAFKA_REVISION=trunk set revision of kafka source code to build container"
echo " KAFKA_VERSION=3.8.0 set version of kafka distribution"
echo " KAFKA_VERSION=3.8.1 set version of kafka 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 " META_FOLDER=/tmp/folder1 set host folder used by controller"
Expand Down
4 changes: 2 additions & 2 deletions docker/start_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source $DOCKER_FOLDER/docker_build_common.sh
# ===============================[global variables]===============================
declare -r ACCOUNT=${ACCOUNT:-opensource4you}
declare -r KAFKA_ACCOUNT=${KAFKA_ACCOUNT:-apache}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.0}}
declare -r KAFKA_VERSION=${KAFKA_REVISION:-${KAFKA_VERSION:-3.8.1}}
declare -r DOCKERFILE=$DOCKER_FOLDER/worker.dockerfile
declare -r WORKER_PORT=${WORKER_PORT:-"$(getRandomPort)"}
declare -r CONTAINER_NAME="worker-$WORKER_PORT"
Expand Down Expand Up @@ -50,7 +50,7 @@ function showHelp() {
echo " ACCOUNT=opensource4you set the github account for astraea repo"
echo " HEAP_OPTS=\"-Xmx2G -Xms2G\" set worker JVM memory"
echo " KAFKA_REVISION=trunk set revision of kafka source code to build container"
echo " KAFKA_VERSION=3.8.0 set version of kafka distribution"
echo " KAFKA_VERSION=3.8.1 set version of kafka 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 " WORKER_PLUGIN_PATH=/tmp/worker-plugins set plugin path to kafka worker"
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def versions = [
jcommander : project.properties['jcommander.version'] ?: "1.82",
"jmh" : project.properties['jmh.version'] ?: "1.37",
junit : project.properties['junit.version'] ?: "5.10.2",
kafka : project.properties['kafka.version'] ?: "3.8.0",
kafka : project.properties['kafka.version'] ?: "3.8.1",
mockito : project.properties['mockito.version'] ?: "5.11.0",
"mockito-inline" : project.properties['mockito-inline.version'] ?: "5.2.0",
slf4j : project.properties['slf4j.version'] ?: "2.0.12",
Expand Down

0 comments on commit 8fc7470

Please sign in to comment.