public class PubSubIT extends Object
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
PubSubIT.TestMessageReceiver |
| Modifier and Type | Field and Description |
|---|---|
protected static TestDatabase |
db |
private static int |
MESSAGE_COUNT |
private static List<com.google.pubsub.v1.PubsubMessage> |
messages |
(package private) DebeziumServer |
server |
private static String |
STREAM_NAME |
protected static com.google.cloud.pubsub.v1.Subscriber |
subscriber |
private static String |
SUBSCRIPTION_NAME |
private static com.google.pubsub.v1.ProjectSubscriptionName |
subscriptionName |
| Constructor and Description |
|---|
PubSubIT() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
connectorCompleted(io.debezium.server.events.ConnectorCompletedEvent event) |
(package private) void |
setupDependencies(io.debezium.server.events.ConnectorStartedEvent event) |
(package private) static void |
stop() |
void |
testPubSub() |
private static final int MESSAGE_COUNT
private static final String STREAM_NAME
private static final String SUBSCRIPTION_NAME
protected static TestDatabase db
protected static com.google.cloud.pubsub.v1.Subscriber subscriber
private static com.google.pubsub.v1.ProjectSubscriptionName subscriptionName
@Inject DebeziumServer server
private static final List<com.google.pubsub.v1.PubsubMessage> messages
@AfterAll
static void stop()
throws IOException
IOExceptionvoid setupDependencies(@Observes
io.debezium.server.events.ConnectorStartedEvent event)
throws IOException
IOExceptionvoid connectorCompleted(@Observes
io.debezium.server.events.ConnectorCompletedEvent event)
throws Exception
ExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.