package de.juplo.kafka.chat.backend;
+import org.testcontainers.containers.GenericContainer;
+import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;
+import org.testcontainers.utility.DockerImageName;
@Testcontainers
public abstract class AbstractHandoverIT
{
+ @Container
+ GenericContainer backend1 = new GenericContainer(DockerImageName.parse())
+ @Container
KafkaContainer kafka = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:7.4.0"))
.withKraft();
-kafka.start();
var bootstrapServers = kafka.getBootstrapServers();
}