Class MongoEventRouterTestIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mongodb.AbstractMongoConnectorIT
io.debezium.connector.mongodb.transforms.outbox.MongoEventRouterTestIT
- All Implemented Interfaces:
Testing
Integration tests for
MongoEventRouter- Author:
- Sungho Hwang
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprivate io.debezium.connector.mongodb.transforms.outbox.MongoEventRouter<org.apache.kafka.connect.source.SourceRecord>protected static final StringFields inherited from class io.debezium.connector.mongodb.AbstractMongoConnectorIT
config, context, logInterceptor, mongoFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidbeforeEach(Configuration config) private Stringvoidvoidvoidvoidvoidvoidprotected StringMethods inherited from class io.debezium.connector.mongodb.AbstractMongoConnectorIT
afterAll, beforeAll, connect, deleteDocuments, dropAndInsertDocuments, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, insertDocuments, insertDocumentsInTx, loadTestDocuments, storeDocuments, storeDocuments, updateDocument, updateDocumentsInTx, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunningMethods inherited from class io.debezium.embedded.AbstractConnectorTest
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForNotInitialState, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
DB_NAME
- See Also:
-
SERVER_NAME
- See Also:
-
outboxEventRouter
private io.debezium.connector.mongodb.transforms.outbox.MongoEventRouter<org.apache.kafka.connect.source.SourceRecord> outboxEventRouter
-
-
Constructor Details
-
MongoEventRouterTestIT
public MongoEventRouterTestIT()
-
-
Method Details
-
beforeEach
public void beforeEach()- Overrides:
beforeEachin classAbstractMongoConnectorIT
-
getCollectionName
-
topicName
-
beforeEach
-
afterEach
public void afterEach()- Overrides:
afterEachin classAbstractMongoConnectorIT
-
shouldConsumeRecordsFromInsert
- Throws:
Exception
-
shouldSendEventTypeAsHeader
- Throws:
Exception
-
shouldSendEventTypeAsValue
- Throws:
Exception
-
shouldSupportAllFeatures
- Throws:
Exception
-
shouldNotProduceTombstoneEventForNullPayload
- Throws:
Exception
-
shouldProduceTombstoneEventForNullPayload
- Throws:
Exception
-