Skip to content

Commit 5de1da6

Browse files
clolovFrankYang0529
authored andcommitted
MINOR: Add 4.2.0 to system tests (#21549)
Adding 4.2.0 to system tests as a post-release step Reviewers: Matthias J. Sax <mjsax@apache.org> (cherry picked from commit ae02ee9)
1 parent bddd85b commit 5de1da6

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

gradle/dependencies.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ versions += [
107107
kafka_39: "3.9.1",
108108
kafka_40: "4.0.0",
109109
kafka_41: "4.1.1",
110+
kafka_42: "4.2.0",
110111
log4j2: "2.25.3",
111112
// When updating lz4 make sure the compression levels in org.apache.kafka.common.record.CompressionType are still valid
112113
// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/record/CompressionType.java#L73-L74

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.8.1" && chmod a+rw /opt/kafka-3.8.1 && curl -s "$KAFK
9696
RUN mkdir -p "/opt/kafka-3.9.1" && chmod a+rw /opt/kafka-3.9.1 && curl -s "$KAFKA_MIRROR/kafka_2.12-3.9.1.tgz" | tar xz --strip-components=1 -C "/opt/kafka-3.9.1"
9797
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"
9898
RUN mkdir -p "/opt/kafka-4.1.1" && chmod a+rw /opt/kafka-4.1.1 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.1.1.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.1.1"
99+
RUN mkdir -p "/opt/kafka-4.2.0" && chmod a+rw /opt/kafka-4.2.0 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.2.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.2.0"
99100

100101

101102
# Streams test dependencies
@@ -119,6 +120,7 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.8.1-test.jar" -o /opt/kafka-3.8.1/lib
119120
RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.9.1-test.jar" -o /opt/kafka-3.9.1/libs/kafka-streams-3.9.1-test.jar
120121
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
121122
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.1.1-test.jar" -o /opt/kafka-4.1.1/libs/kafka-streams-4.1.1-test.jar
123+
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.2.0-test.jar" -o /opt/kafka-4.1.1/libs/kafka-streams-4.2.0-test.jar
122124

123125
# To ensure the Kafka cluster starts successfully under JDK 17, we need to update the Zookeeper
124126
# 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
@@ -177,6 +177,8 @@ get_kafka 4.0.0 2.13
177177
chmod a+rw /opt/kafka-4.0.0
178178
get_kafka 4.1.1 2.13
179179
chmod a+rw /opt/kafka-4.1.1
180+
get_kafka 4.2.0 2.13
181+
chmod a+rw /opt/kafka-4.2.0
180182

181183
# To ensure the Kafka cluster starts successfully under JDK 17, we need to update the Zookeeper
182184
# 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)