This is an automated email from the ASF dual-hosted git repository.

FrankYang0529 pushed a commit to branch 4.2
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/4.2 by this push:
     new 5de1da62c41 MINOR: Add 4.2.0 to system tests (#21549)
5de1da62c41 is described below

commit 5de1da62c412f9c84de5543903dfea4ed1f4b461
Author: Christo Lolov <[email protected]>
AuthorDate: Fri Mar 13 10:31:10 2026 +0000

    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 <[email protected]>
    (cherry picked from commit ae02ee9769ebadde78f2dead91a119ac22b61855)
---
 gradle/dependencies.gradle | 1 +
 tests/docker/Dockerfile    | 2 ++
 vagrant/base.sh            | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 31c8c05d8ef..ac548148b4e 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -107,6 +107,7 @@ versions += [
   kafka_39: "3.9.1",
   kafka_40: "4.0.0",
   kafka_41: "4.1.1",
+  kafka_42: "4.2.0",
   log4j2: "2.25.3",
   // When updating lz4 make sure the compression levels in 
org.apache.kafka.common.record.CompressionType are still valid
   // 
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/record/CompressionType.java#L73-L74
diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index dd831d7eefb..1e9d55b7a53 100644
--- a/tests/docker/Dockerfile
+++ b/tests/docker/Dockerfile
@@ -96,6 +96,7 @@ RUN mkdir -p "/opt/kafka-3.8.1" && chmod a+rw 
/opt/kafka-3.8.1 && curl -s "$KAFK
 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"
 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"
 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"
+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"
 
 
 # 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
 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
 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
 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
+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
 
 # To ensure the Kafka cluster starts successfully under JDK 17, we need to 
update the Zookeeper 
 # 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 
diff --git a/vagrant/base.sh b/vagrant/base.sh
index c5ebd4f110b..8a62bd29de8 100755
--- a/vagrant/base.sh
+++ b/vagrant/base.sh
@@ -177,6 +177,8 @@ get_kafka 4.0.0 2.13
 chmod a+rw /opt/kafka-4.0.0
 get_kafka 4.1.1 2.13
 chmod a+rw /opt/kafka-4.1.1
+get_kafka 4.2.0 2.13
+chmod a+rw /opt/kafka-4.2.0
 
 # To ensure the Kafka cluster starts successfully under JDK 17, we need to 
update the Zookeeper
 # 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

Reply via email to