primary
protected io.debezium.connector.mongodb.ConnectionContext.MongoPrimary primary()
TestingAbstractExtractNewDocumentStateTestIT, CloudEventsConverterIT, FieldBlacklistIT, FieldExcludeListIT, FieldRenamesIT, IncrementalSnapshotIT, MongoDbConnectorIT, MongoDbConnectorWithConnectionStringIT, MongoEventRouterTestIT, MongoMetricsIT, TransactionMetadataITAbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timerprotected Configurationprotected io.debezium.connector.mongodb.MongoDbTaskContextprotected LogInterceptorprivate static final intconsumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRulevoidvoidprivate static booleancollectionExists(com.mongodb.client.MongoDatabase database,
String collectionName) protected voiddeleteDocuments(String dbName,
String collectionName,
org.bson.Document filter) protected voiddropAndInsertDocuments(String dbName,
String collectionName,
org.bson.Document... documents) private static ObjectNamegetMetricsObjectNameWithTags(String connector,
Map<String,String> tags) static ObjectNamegetSnapshotMetricsObjectName(String connector,
String server) static ObjectNamegetSnapshotMetricsObjectName(String connector,
String server,
int taskId) static ObjectNamegetStreamingMetricsObjectName(String connector,
String server) static ObjectNamegetStreamingMetricsObjectName(String connector,
String server,
int taskId) 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) static voidwaitForSnapshotToBeCompleted(String connector,
String server) static voidwaitForSnapshotToBeCompleted(String connector,
String server,
int taskId) private static voidwaitForSnapshotToBeCompleted(ObjectName objectName) static voidwaitForStreamingRunning(String connector,
String server) static voidwaitForStreamingRunning(String connector,
String server,
int taskId) private static voidwaitForStreamingRunning(ObjectName objectName) 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, getConsumer, getMaximumEnqueuedRecordCount, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, 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