Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Update apache/kafka-native Docker tag to v3.9.0 #11323

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/resources/generator/dependencies/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM mysql:9.1.0
FROM cassandra:5.0.2
FROM mcr.microsoft.com/mssql/server:2022-latest
FROM postgres:17.0
FROM apache/kafka-native:3.8.1
FROM apache/kafka-native:3.9.0
FROM tchiotludo/akhq:0.25.1
FROM apachepulsar/pulsar:4.0.0
FROM neo4j:5.25.1-community
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public class KafkaTestContainerExtension implements BeforeAllCallback {
public void beforeAll(final ExtensionContext context) {
if (!kafkaContainerStarted.get()) {
kafkaContainer = new KafkaContainer(DockerImageName.parse("{{kafkaDockerImage}}")).withNetwork(null);
// Waiting this issue https://github.com/testcontainers/testcontainers-java/issues/9506 to remove this line
kafkaContainer.withEnv("KAFKA_LISTENERS", "PLAINTEXT://:9092,BROKER://:9093,CONTROLLER://:9094");
kafkaContainer.start();
kafkaContainerStarted.set(true);
System.setProperty("kafka.bootstrap.servers", kafkaContainer.getBootstrapServers());
Expand Down