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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidconnectorCompleted(io.debezium.server.events.ConnectorCompletedEvent event) (package private) voidsetupDependencies(io.debezium.server.events.ConnectorStartedEvent event) (package private) static voidstop()void
-
Field Details
-
TOPIC_NAME
- See Also:
-
MESSAGE_COUNT
private static final int MESSAGE_COUNT- See Also:
-
consumer
-
-
Constructor Details
-
KafkaIT
public KafkaIT()
-
-
Method Details
-
setupDependencies
void setupDependencies(@Observes io.debezium.server.events.ConnectorStartedEvent event) -
connectorCompleted
void connectorCompleted(@Observes io.debezium.server.events.ConnectorCompletedEvent event) throws Exception - Throws:
Exception
-
stop
- Throws:
Exception
-
testKafka
- Throws:
Exception
-