Class NatsStreamingIT
- java.lang.Object
-
- io.debezium.server.nats.streaming.NatsStreamingIT
-
@QuarkusTestResource(io.debezium.testing.testcontainers.PostgresTestResourceLifecycleManager.class) @QuarkusTestResource(NatsStreamingTestResourceLifecycleManager.class) public class NatsStreamingIT extends Object
Integration test that verifies basic reading from PostgreSQL database and writing to NATS Streaming subject.- Author:
- Thiago Avancini
-
-
Field Summary
Fields Modifier and Type Field Description private static StringCLIENT_IDprivate static StringCLUSTER_IDprivate static intMESSAGE_COUNTprivate static List<io.nats.streaming.Message>messagesprotected static io.nats.streaming.StreamingConnectionscprivate static StringSUBJECT_NAMEprotected static io.nats.streaming.Subscriptionsubscription
-
Constructor Summary
Constructors Constructor Description NatsStreamingIT()
-
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()voidtestNatsStreaming()
-
-
-
Field Detail
-
MESSAGE_COUNT
private static final int MESSAGE_COUNT
- See Also:
- Constant Field Values
-
SUBJECT_NAME
private static final String SUBJECT_NAME
- See Also:
- Constant Field Values
-
CLUSTER_ID
private static final String CLUSTER_ID
- See Also:
- Constant Field Values
-
CLIENT_ID
private static final String CLIENT_ID
- See Also:
- Constant Field Values
-
sc
protected static io.nats.streaming.StreamingConnection sc
-
subscription
protected static io.nats.streaming.Subscription subscription
-
messages
private static final List<io.nats.streaming.Message> messages
-
-