Package io.debezium.connector.mongodb
Class MultiThreadIncrementalSnapshotIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mongodb.AbstractMongoConnectorIT
io.debezium.connector.mongodb.IncrementalSnapshotIT
io.debezium.connector.mongodb.MultiThreadIncrementalSnapshotIT
- All Implemented Interfaces:
Testing
Test to verify multi-thread incremental snapshotting for MongoDB.
- Author:
- Yue Wang
-
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 TypeFieldDescriptionprivate static final intprotected static final intFields inherited from class io.debezium.connector.mongodb.AbstractMongoConnectorIT
config, context, logInterceptor, mongoFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.debezium.connector.mongodb.IncrementalSnapshotIT
after, before, connectorClass, consumeAnyRemainingIncrementalSnapshotEventsAndCheckForStopMessage, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, dataCollectionName, dataCollectionNames, executeIncrementalSnapshotWithAdditionalCondition, extractFieldValue, fullDataCollectionName, fullDataCollectionNames, getMaximumEnqueuedRecordCount, insertAdditionalData, insertAdditionalData, insertDeleteWatermarkingStrategy, insertInsertWatermarkingStrategy, inserts, invalidTablesInTheList, pauseDuringSnapshot, pkFieldName, populateDataCollection, populateDataCollection, populateDataCollections, removeNotYetCapturedCollectionFromInProgressIncrementalSnapshot, removeStartedCapturedCollectionFromInProgressIncrementalSnapshot, sendAdHocSnapshotSignal, sendAdHocSnapshotSignal, sendAdHocSnapshotSignalAndWait, sendAdHocSnapshotSignalWithAdditionalConditions, sendAdHocSnapshotStopSignal, sendAdHocSnapshotStopSignalAndWait, sendPauseSignal, sendResumeSignal, shouldStreamWithDatabaseIncludeList, snapshotOnlyDecimal128, snapshotOnlyDouble, snapshotOnlyInt32, snapshotOnlyObjectId, snapshotOnlyString, snapshotOnlyUUID, snapshotOnlyWithInt64, snapshotOnlyWithRestart, startConnector, startConnector, startConnector, stopCurrentIncrementalSnapshotWithAllCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, stopCurrentIncrementalSnapshotWithoutCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, topicName, topicNames, updateData, updates, updatesLargeChunk, updatesWithRestart, valueFieldName, waitForConnectorToStartMethods inherited from class io.debezium.connector.mongodb.AbstractMongoConnectorIT
afterAll, afterEach, beforeAll, beforeEach, 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, createEngine, createEngineBuilder, debug, getConsumer, 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, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
ROW_COUNT
protected static final int ROW_COUNT- See Also:
-
INCREMENTAL_SNAPSHOT_THREADS
private static final int INCREMENTAL_SNAPSHOT_THREADS- See Also:
-
-
Constructor Details
-
MultiThreadIncrementalSnapshotIT
public MultiThreadIncrementalSnapshotIT()
-
-
Method Details
-
config
- Overrides:
configin classIncrementalSnapshotIT
-
multiThreadingSnapshot
- Throws:
Exception
-
multiThreadSnapshotWithRestart
- Throws:
Exception
-