Package io.debezium.server.kafka
Class KafkaIT
- java.lang.Object
-
- io.debezium.server.kafka.KafkaIT
-
@QuarkusTestResource(io.debezium.testing.testcontainers.PostgresTestResourceLifecycleManager.class) @QuarkusTestResource(KafkaTestResourceLifecycleManager.class) public class KafkaIT extends Object
Integration test for verifying that the Kafka sink adapter can stream change events from a PostgreSQL database to a configured Apache Kafka broker.- Author:
- Alfusainey Jallow
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.kafka.clients.consumer.KafkaConsumer<String,String>consumerprivate static intMESSAGE_COUNTprivate static StringTOPIC_NAME
-
Constructor Summary
Constructors Constructor Description KafkaIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidconnectorCompleted(io.debezium.server.events.ConnectorCompletedEvent event)(package private) voidsetupDependencies(io.debezium.server.events.ConnectorStartedEvent event)(package private) static voidstop()voidtestKafka()
-
-
-
Field Detail
-
TOPIC_NAME
private static final String TOPIC_NAME
- See Also:
- Constant Field Values
-
MESSAGE_COUNT
private static final int MESSAGE_COUNT
- See Also:
- Constant Field Values
-
-