This is an automated email from the ASF dual-hosted git repository.
MartijnVisser pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-kafka.git
The following commit(s) were added to refs/heads/main by this push:
new 04084234 [FLINK-41158][build] Bump Testcontainers to 2.0.5
04084234 is described below
commit 040842345c646411e54bae7b3b969451539d9b34
Author: Purushottam Sinha <[email protected]>
AuthorDate: Sun Oct 25 00:33:46 2026 +0530
[FLINK-41158][build] Bump Testcontainers to 2.0.5
Testcontainers 2.0 prefixes all module artifact ids with 'testcontainers-'.
Rename the kafka and junit-jupiter dependencies accordingly, including the
ignoredUnusedDeclaredDependencies entry in the e2e module. No Java changes
are required.
Generated-by: Claude Code (claude-sonnet-5-5)
---
.../flink-end-to-end-tests-common-kafka/pom.xml | 6 +++---
flink-connector-kafka/pom.xml | 4 ++--
pom.xml | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml
b/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml
index 4286c303..c088b188 100644
---
a/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml
+++
b/flink-connector-kafka-e2e-tests/flink-end-to-end-tests-common-kafka/pom.xml
@@ -135,11 +135,11 @@ under the License.
<dependency>
<groupId>org.testcontainers</groupId>
- <artifactId>kafka</artifactId>
+ <artifactId>testcontainers-kafka</artifactId>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
- <artifactId>junit-jupiter</artifactId>
+ <artifactId>testcontainers-junit-jupiter</artifactId>
</dependency>
<dependency>
@@ -253,7 +253,7 @@ under the License.
<outputDirectory>${project.build.directory}/dependencies</outputDirectory>
</artifactItem>
</artifactItems>
-
<ignoredUnusedDeclaredDependencies>org.apache.flink:flink-streaming-kafka-test,org.apache.flink:flink-sql-avro,org.apache.flink:flink-sql-avro-confluent-registry,org.apache.flink:flink-connector-base,org.apache.flink:flink-sql-connector-kafka,org.testcontainers:kafka
+
<ignoredUnusedDeclaredDependencies>org.apache.flink:flink-streaming-kafka-test,org.apache.flink:flink-sql-avro,org.apache.flink:flink-sql-avro-confluent-registry,org.apache.flink:flink-connector-base,org.apache.flink:flink-sql-connector-kafka,org.testcontainers:testcontainers-kafka
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
diff --git a/flink-connector-kafka/pom.xml b/flink-connector-kafka/pom.xml
index 21a7dc47..419657f9 100644
--- a/flink-connector-kafka/pom.xml
+++ b/flink-connector-kafka/pom.xml
@@ -210,7 +210,7 @@ under the License.
<dependency>
<groupId>org.testcontainers</groupId>
- <artifactId>kafka</artifactId>
+ <artifactId>testcontainers-kafka</artifactId>
<scope>test</scope>
</dependency>
<dependency>
@@ -220,7 +220,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
- <artifactId>junit-jupiter</artifactId>
+ <artifactId>testcontainers-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index 96bd6c66..526387dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -82,7 +82,7 @@ under the License.
<guava.version>33.7.2-jre</guava.version>
<hamcrest.version>1.3</hamcrest.version>
<junit5.version>5.13.3</junit5.version>
- <testcontainers.version>1.21.4</testcontainers.version>
+ <testcontainers.version>2.0.5</testcontainers.version>
<!-- Plugins -->
<japicmp.referenceVersion>1.17.0</japicmp.referenceVersion>