abstract class AbstractExtractNewDocumentStateUpdateOperatorsTestIT extends AbstractExtractNewDocumentStateTestIT
ExtractNewDocumentState. It sends operations into
MongoDB and listens on messages that are generated by Debezium plug-in. The messages
are then run through the SMT itself.
This tries to cover every mongo update operation as described in the official documentation
https://docs.mongodb.com/v3.6/reference/operator/update/#id1
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.TimerDB_NAME, SERVER_NAME, transformationengine, logger, logTestName, NO_MONITORED_TABLES_WARNING, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
AbstractExtractNewDocumentStateUpdateOperatorsTestIT() |
| Modifier and Type | Method and Description |
|---|---|
private Consumer<com.mongodb.MongoClient> |
createInsertItemDefault(int id) |
private Consumer<com.mongodb.MongoClient> |
createUpdateOneItem(int id,
String document) |
(package private) org.apache.kafka.connect.source.SourceRecord |
executeSimpleUpdateOperation(String updateDocument) |
protected String |
getCollectionName() |
afterEach, beforeEach, beforeEach, getUpdateRecord, primary, restartConnectorWithoutEmittingTombstones, topicNameassertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, initializeConnectorTestFramework, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, start, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, once, once, print, print, printError, printError, printError, resetBeforeEachTest, time, timeAbstractExtractNewDocumentStateUpdateOperatorsTestIT()
protected String getCollectionName()
getCollectionName in class AbstractExtractNewDocumentStateTestITorg.apache.kafka.connect.source.SourceRecord executeSimpleUpdateOperation(String updateDocument) throws InterruptedException
InterruptedExceptionprivate Consumer<com.mongodb.MongoClient> createInsertItemDefault(int id)
Copyright © 2020 JBoss by Red Hat. All rights reserved.