Skip to content

Commit

Permalink
Fix: Update apache/kafka-native Docker tag to v3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Nov 8, 2024
1 parent bde2b3b commit 848a56b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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);
// TODO: waiting this issue https://github.com/testcontainers/testcontainers-java/issues/9506
kafkaContainer.withEnv("KAFKA_LISTENERS", "PLAINTEXT://:9092,BROKER://:9093,CONTROLLER://:9094");
kafkaContainer.start();
kafkaContainerStarted.set(true);
System.setProperty("kafka.bootstrap.servers", kafkaContainer.getBootstrapServers());
Expand Down

0 comments on commit 848a56b

Please sign in to comment.