Package io.debezium.server.pulsar
Class PulsarIT
- java.lang.Object
-
- io.debezium.server.pulsar.PulsarIT
-
@QuarkusTestResource(io.debezium.testing.testcontainers.PostgresTestResourceLifecycleManager.class) @QuarkusTestResource(PulsarTestResourceLifecycleManager.class) public class PulsarIT extends Object
Integration test that verifies basic reading from PostgreSQL database and writing to an Apache Pulsar topic.- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description private static intMESSAGE_COUNTprotected static org.apache.pulsar.client.api.PulsarClientpulsarClientprivate static StringTOPIC_NAME
-
Constructor Summary
Constructors Constructor Description PulsarIT()
-
Method Summary
All 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)voidtestPulsar()
-
-
-
Field Detail
-
MESSAGE_COUNT
private static final int MESSAGE_COUNT
- See Also:
- Constant Field Values
-
TOPIC_NAME
private static final String TOPIC_NAME
- See Also:
- Constant Field Values
-
pulsarClient
protected static org.apache.pulsar.client.api.PulsarClient pulsarClient
-
-
Method Detail
-
setupDependencies
void setupDependencies(@Observes io.debezium.server.events.ConnectorStartedEvent event) throws IOException- Throws:
IOException
-
connectorCompleted
void connectorCompleted(@Observes io.debezium.server.events.ConnectorCompletedEvent event) throws Exception- Throws:
Exception
-
-