Package io.debezium.server.kafka
Class KafkaTestResourceLifecycleManager
- java.lang.Object
-
- io.debezium.server.kafka.KafkaTestResourceLifecycleManager
-
- All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager
public class KafkaTestResourceLifecycleManager extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Manages the lifecycle of a Kafka cluster test resource.- Author:
- Alfusainey Jallow
-
-
Field Summary
Fields Modifier and Type Field Description private static org.testcontainers.containers.KafkaContainerkafkaContainer
-
Constructor Summary
Constructors Constructor Description KafkaTestResourceLifecycleManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetBootstrapServers()Map<String,String>start()voidstop()
-
-
-
Method Detail
-
start
public Map<String,String> start()
- Specified by:
startin interfaceio.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
stop
public void stop()
- Specified by:
stopin interfaceio.quarkus.test.common.QuarkusTestResourceLifecycleManager
-
getBootstrapServers
public static String getBootstrapServers()
-
-