From 8fc7470c04c84da92fc107e8b16190dc6002cccf Mon Sep 17 00:00:00 2001 From: Chia-Ping Tsai Date: Sun, 3 Nov 2024 04:22:17 +0800 Subject: [PATCH] [COMMON] upgrade kafka from 3.8.0 to 3.8.1 --- docker/start_broker.sh | 4 ++-- docker/start_controller.sh | 4 ++-- docker/start_worker.sh | 4 ++-- gradle/dependencies.gradle | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/start_broker.sh b/docker/start_broker.sh index de6938edaf..8f5867b799 100755 --- a/docker/start_broker.sh +++ b/docker/start_broker.sh @@ -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" @@ -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" diff --git a/docker/start_controller.sh b/docker/start_controller.sh index 507cdd0da5..12bc1828aa 100755 --- a/docker/start_controller.sh +++ b/docker/start_controller.sh @@ -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)"} @@ -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" diff --git a/docker/start_worker.sh b/docker/start_worker.sh index c86aaade3a..d2449e2ea1 100755 --- a/docker/start_worker.sh +++ b/docker/start_worker.sh @@ -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" @@ -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" diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 799dae3f8a..d02382dbb7 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -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",