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
FieldsModifier and TypeFieldDescription(package private) String(package private) String(package private) String(package private) String(package private) Stringprivate static final intprivate static final Stringprotected static org.apache.pulsar.client.api.PulsarClientprivate static final String -
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) void
-
Field Details
-
MESSAGE_COUNT
private static final int MESSAGE_COUNT- See Also:
-
TOPIC_NAME
- See Also:
-
NOKEY_TOPIC_NAME
- See Also:
-
dbHostname
String dbHostname -
dbPort
String dbPort -
dbUser
String dbUser -
dbPassword
String dbPassword -
dbName
String dbName -
pulsarClient
protected static org.apache.pulsar.client.api.PulsarClient pulsarClient
-
-
Constructor Details
-
PulsarIT
public PulsarIT()
-
-
Method Details
-
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
-
testPulsar
- Throws:
Exception
-