This is an automated email from the ASF dual-hosted git repository.
clolov pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new ae02ee9769e MINOR: Add 4.2.0 to system tests (#21549)
ae02ee9769e is described below
commit ae02ee9769ebadde78f2dead91a119ac22b61855
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]>
---
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 fc82956eaac..4a181b05024 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -110,6 +110,7 @@ versions += [
kafka_39: "3.9.2",
kafka_40: "4.0.1",
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.internal.CompressionType are still valid
//
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/record/internal/CompressionType.java#L73-L74
diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile
index 65504a15fb3..d9c54cf2c90 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.2" && chmod a+rw /opt/kafka-3.9.2 && curl -s
"$KAFKA_MIRROR/kafka_2.13-3.9.2.tgz" | tar xz --strip-components=1 -C
"/opt/kafka-3.9.2"
RUN mkdir -p "/opt/kafka-4.0.1" && chmod a+rw /opt/kafka-4.0.1 && curl -s
"$KAFKA_MIRROR/kafka_2.13-4.0.1.tgz" | tar xz --strip-components=1 -C
"/opt/kafka-4.0.1"
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.2-test.jar" -o
/opt/kafka-3.9.2/libs/kafka-streams-3.9.2-test.jar
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.0.1-test.jar" -o
/opt/kafka-4.0.1/libs/kafka-streams-4.0.1-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 c1550fdf369..1f391defb72 100755
--- a/vagrant/base.sh
+++ b/vagrant/base.sh
@@ -178,6 +178,8 @@ get_kafka 4.0.1 2.13
chmod a+rw /opt/kafka-4.0.1
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