primary
protected io.debezium.connector.mongodb.ConnectionContext.MongoPrimary primary()
TestingCloudEventsConverterIT, FieldRenamesIT, IncrementalSnapshotIT, KeepCaptureModeAfterRestartIT, MongoEventRouterTestIT, MongoMetricsIT, TransactionMetadataITAbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timerprotected Configurationprotected io.debezium.connector.mongodb.MongoDbTaskContextprotected LogInterceptorengine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRulevoidvoidprivate static booleancollectionExists(com.mongodb.client.MongoDatabase database,
String collectionName) protected BiConsumer<String,Throwable> connectionErrorHandler(int numErrorsBeforeFailing) protected voiddeleteDocuments(String dbName,
String collectionName,
org.bson.Document filter) protected voiddropAndInsertDocuments(String dbName,
String collectionName,
org.bson.Document... documents) protected voidinsertDocuments(String dbName,
String collectionName,
org.bson.Document... documents) protected voidinsertDocumentsInTx(String dbName,
String collectionName,
org.bson.Document... documents) protected List<org.bson.Document>loadTestDocuments(String pathOnClasspath) protected io.debezium.connector.mongodb.ConnectionContext.MongoPrimaryprimary()protected voidstoreDocuments(com.mongodb.client.MongoCollection<org.bson.Document> collection,
String pathOnClasspath) protected voidstoreDocuments(String dbName,
String collectionName,
String pathOnClasspath) protected voidupdateDocument(String dbName,
String collectionName,
org.bson.Document filter,
org.bson.Document document) protected voidupdateDocumentsInTx(String dbName,
String collectionName,
org.bson.Document filter,
org.bson.Document document) 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, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNullspathOnClasspath - the path on the classpath to the file containing the documents to loaddbName - the database namecollectionName - the collection namedocuments - the documents to be inserted, can be emptydbName - the database namecollectionName - the collection namedocuments - the documents to be inserted, can be emptydbName - the database namecollectionName - the collection namedocuments - the documents to be inserted, can be emptydbName - the database namecollectionName - the collection namefilter - the document filterdocument - the document fields to be updateddbName - the database namecollectionName - the collection namefilter - the document filterdocument - the document fields to be updateddbName - the database namecollectionName - the collection namefilter - the document filter