Skip to content

Commit c298d4b

Browse files
authored
MINOR: Add 4.3.0 to system tests (#22373)
Adding 4.3.0 to the system tests as per the post release instructions: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34840886#ReleaseProcess-Afterrelease I'll follow up with 2 other PRs for the core and streams system tests updates. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
1 parent fd1a1aa commit c298d4b

4 files changed

Lines changed: 11 additions & 0 deletions

File tree

gradle/dependencies.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ versions += [
109109
kafka_40: "4.0.1",
110110
kafka_41: "4.1.2",
111111
kafka_42: "4.2.0",
112+
kafka_43: "4.3.0",
112113
log4j2: "2.25.4",
113114
// When updating lz4 make sure the compression levels in org.apache.kafka.common.record.internal.CompressionType are still valid
114115
// https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/record/internal/CompressionType.java#L73-L74
@@ -219,6 +220,8 @@ libs += [
219220
kafkaStreams_39: "org.apache.kafka:kafka-streams:$versions.kafka_39",
220221
kafkaStreams_40: "org.apache.kafka:kafka-streams:$versions.kafka_40",
221222
kafkaStreams_41: "org.apache.kafka:kafka-streams:$versions.kafka_41",
223+
kafkaStreams_42: "org.apache.kafka:kafka-streams:$versions.kafka_42",
224+
kafkaStreams_43: "org.apache.kafka:kafka-streams:$versions.kafka_43",
222225
log4j1Bridge2Api: "org.apache.logging.log4j:log4j-1.2-api:$versions.log4j2",
223226
log4j2Api: "org.apache.logging.log4j:log4j-api:$versions.log4j2",
224227
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
@@ -97,6 +97,7 @@ RUN mkdir -p "/opt/kafka-3.9.2" && chmod a+rw /opt/kafka-3.9.2 && curl -s "$KAFK
9797
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"
9898
RUN mkdir -p "/opt/kafka-4.1.2" && chmod a+rw /opt/kafka-4.1.2 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.1.2.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.1.2"
9999
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"
100+
RUN mkdir -p "/opt/kafka-4.3.0" && chmod a+rw /opt/kafka-4.3.0 && curl -s "$KAFKA_MIRROR/kafka_2.13-4.3.0.tgz" | tar xz --strip-components=1 -C "/opt/kafka-4.3.0"
100101

101102

102103
# Streams test dependencies
@@ -121,6 +122,7 @@ RUN curl -s "$KAFKA_MIRROR/kafka-streams-3.9.2-test.jar" -o /opt/kafka-3.9.2/lib
121122
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
122123
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.1.2-test.jar" -o /opt/kafka-4.1.2/libs/kafka-streams-4.1.2-test.jar
123124
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.2.0-test.jar" -o /opt/kafka-4.2.0/libs/kafka-streams-4.2.0-test.jar
125+
RUN curl -s "$KAFKA_MIRROR/kafka-streams-4.3.0-test.jar" -o /opt/kafka-4.3.0/libs/kafka-streams-4.3.0-test.jar
124126

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

tests/kafkatest/version.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,7 @@ def get_version(node=None):
252252
# 4.2.x version
253253
V_4_2_0 = KafkaVersion("4.2.0")
254254
LATEST_4_2 = V_4_2_0
255+
256+
# 4.3.x version
257+
V_4_3_0 = KafkaVersion("4.3.0")
258+
LATEST_4_3 = V_4_3_0

vagrant/base.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ get_kafka 4.1.2 2.13
180180
chmod a+rw /opt/kafka-4.1.2
181181
get_kafka 4.2.0 2.13
182182
chmod a+rw /opt/kafka-4.2.0
183+
get_kafka 4.3.0 2.13
184+
chmod a+rw /opt/kafka-4.3.0
183185

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