Skip to content

Commit 3ed5902

Browse files
authored
MINOR: Add 4.0.0 to deps (#19229)
This patch adds 4.0 release to deps, dockerfile and vagrant. Reviewers: Lianet Magrans <lmagrans@confluent.io>
1 parent bb24d85 commit 3ed5902

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

gradle/dependencies.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ versions += [
102102
kafka_37: "3.7.2",
103103
kafka_38: "3.8.1",
104104
kafka_39: "3.9.0",
105+
kafka_40: "4.0.0",
105106
log4j2: "2.24.3",
106107
// When updating lz4 make sure the compression levels in org.apache.kafka.common.record.CompressionType are still valid
107108
lz4: "1.8.0",
@@ -199,6 +200,7 @@ libs += [
199200
kafkaStreams_37: "org.apache.kafka:kafka-streams:$versions.kafka_37",
200201
kafkaStreams_38: "org.apache.kafka:kafka-streams:$versions.kafka_38",
201202
kafkaStreams_39: "org.apache.kafka:kafka-streams:$versions.kafka_39",
203+
kafkaStreams_40: "org.apache.kafka:kafka-streams:$versions.kafka_40",
202204
log4j1Bridge2Api: "org.apache.logging.log4j:log4j-1.2-api:$versions.log4j2",
203205
log4j2Api: "org.apache.logging.log4j:log4j-api:$versions.log4j2",
204206
log4j2Core: "org.apache.logging.log4j:log4j-core:$versions.log4j2",

tests/docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN mkdir -p "/opt/kafka-3.6.2" && chmod a+rw /opt/kafka-3.6.2 && curl -s "$KAFK
9696
RUN mkdir -p "/opt/kafka-3.7.2" && chmod a+rw /opt/kafka-3.7.2 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.7.2.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.7.2"
9797
RUN mkdir -p "/opt/kafka-3.8.1" && chmod a+rw /opt/kafka-3.8.1 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.8.1.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.8.1"
9898
RUN mkdir -p "/opt/kafka-3.9.0" && chmod a+rw /opt/kafka-3.9.0 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.9.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.9.0"
99+
RUN mkdir -p "/opt/kafka-4.0.0" && chmod a+rw /opt/kafka-4.0.0 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.0.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.0.0"
99100

100101

101102
# Streams test dependencies
@@ -117,6 +118,7 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.6.2-test.jar" -o /opt/kafka-3.6.2/lib
117118
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.7.2-test.jar" -o /opt/kafka-3.7.2/libs/kafka-streams-3.7.2-test.jar
118119
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.8.1-test.jar" -o /opt/kafka-3.8.1/libs/kafka-streams-3.8.1-test.jar
119120
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.9.0-test.jar" -o /opt/kafka-3.9.0/libs/kafka-streams-3.9.0-test.jar
121+
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.0.0-test.jar" -o /opt/kafka-4.0.0/libs/kafka-streams-4.0.0-test.jar
120122

121123
# To ensure the Kafka cluster starts successfully under JDK 17, we need to update the Zookeeper
122124
# client from version 3.4.x to 3.5.7 in Kafka versions 2.1.1, 2.2.2, and 2.3.1, as the older Zookeeper

vagrant/base.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ get_kafka 3.8.1 2.12
150150
chmod a+rw /opt/kafka-3.8.1
151151
get_kafka 3.9.0 2.12
152152
chmod a+rw /opt/kafka-3.9.0
153+
get_kafka 4.0.0 2.13
154+
chmod a+rw /opt/kafka-4.0.0
153155

154156
# To ensure the Kafka cluster starts successfully under JDK 17, we need to update the Zookeeper
155157
# client from version 3.4.x to 3.5.7 in Kafka versions 2.1.1, 2.2.2, and 2.3.1, as the older Zookeeper

0 commit comments

Comments
 (0)