Skip to content

Commit 9351270

Browse files
authored
MINOR: Add 4.1.0 to system tests (#20476)
Adding 4.1.0 to system tests as per https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34840886#ReleaseProcess-Afterrelease Reviewers: Chia-Ping Tsai <[email protected]>
1 parent d5e624e commit 9351270

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

gradle/dependencies.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ versions += [
105105
kafka_38: "3.8.1",
106106
kafka_39: "3.9.1",
107107
kafka_40: "4.0.0",
108+
kafka_41: "4.1.0",
108109
log4j2: "2.25.1",
109110
// When updating lz4 make sure the compression levels in org.apache.kafka.common.record.CompressionType are still valid
110111
lz4: "1.8.0",
@@ -207,6 +208,7 @@ libs += [
207208
kafkaStreams_38: "org.apache.kafka:kafka-streams:$versions.kafka_38",
208209
kafkaStreams_39: "org.apache.kafka:kafka-streams:$versions.kafka_39",
209210
kafkaStreams_40: "org.apache.kafka:kafka-streams:$versions.kafka_40",
211+
kafkaStreams_41: "org.apache.kafka:kafka-streams:$versions.kafka_41",
210212
log4j1Bridge2Api: "org.apache.logging.log4j:log4j-1.2-api:$versions.log4j2",
211213
log4j2Api: "org.apache.logging.log4j:log4j-api:$versions.log4j2",
212214
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
@@ -95,6 +95,7 @@ RUN mkdir -p "/opt/kafka-3.7.2" && chmod a+rw /opt/kafka-3.7.2 && curl -s "$KAFK
9595
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"
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"
98+
RUN mkdir -p "/opt/kafka-4.1.0" && chmod a+rw /opt/kafka-4.1.0 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.1.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.1.0"
9899

99100

100101
# Streams test dependencies
@@ -117,6 +118,7 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.7.2-test.jar" -o /opt/kafka-3.7.2/lib
117118
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
118119
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
119120
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
121+
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.1.0-test.jar" -o /opt/kafka-4.1.0/libs/kafka-streams-4.1.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
@@ -152,6 +152,8 @@ get_kafka 3.9.1 2.12
152152
chmod a+rw /opt/kafka-3.9.1
153153
get_kafka 4.0.0 2.13
154154
chmod a+rw /opt/kafka-4.0.0
155+
get_kafka 4.1.0 2.13
156+
chmod a+rw /opt/kafka-4.1.0
155157

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