public class ExtractNewDocumentStateTestIT 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.AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private static String |
ADD_SOURCE_FIELDS |
private static String |
CONFIG_DROP_TOMBSTONES |
private static String |
DELIMITER |
private static String |
DROP_TOMBSTONE |
private static String |
FLATTEN_STRUCT |
private static String |
HANDLE_DELETES |
private static String |
OPERATION_HEADER |
DB_NAME, SERVER_NAME, transformationengine, logger, logTestName, NO_MONITORED_TABLES_WARNING, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
ExtractNewDocumentStateTestIT() |
afterEach, beforeEach, beforeEach, getNextRecord, getRecordByOperation, 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, 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, timeprivate static final String CONFIG_DROP_TOMBSTONES
private static final String HANDLE_DELETES
private static final String FLATTEN_STRUCT
private static final String DELIMITER
private static final String OPERATION_HEADER
private static final String DROP_TOMBSTONE
private static final String ADD_SOURCE_FIELDS
protected String getCollectionName()
getCollectionName in class AbstractExtractNewDocumentStateTestIT@FixFor(value="DBZ-563") public void shouldDropTombstoneByDefault() throws InterruptedException
InterruptedExceptionpublic void shouldTransformEvents()
throws InterruptedException,
IOException
InterruptedExceptionIOException@FixFor(value="DBZ-1767") public void shouldSupportDbRef() throws InterruptedException, IOException
InterruptedExceptionIOException@FixFor(value="DBZ-1442") public void shouldAddSourceFields() throws InterruptedException
InterruptedException@FixFor(value="DBZ-1442") public void shouldAddSourceFieldsForRewriteDeleteEvent() throws InterruptedException
InterruptedExceptionpublic void shouldTransformRecordForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldTransformRecordForInsertEventWithComplexIdType()
throws InterruptedException
InterruptedExceptionpublic void shouldGenerateRecordForUpdateEvent()
throws InterruptedException
InterruptedException@FixFor(value="DBZ-612") public void shouldGenerateRecordForUpdateEventWithUnset() throws InterruptedException
InterruptedException@FixFor(value="DBZ-612") public void shouldGenerateRecordForUnsetOnlyUpdateEvent() throws InterruptedException
InterruptedException@FixFor(value="DBZ-582") public void shouldGenerateRecordForDeleteEventWithoutTombstone() throws InterruptedException
InterruptedException@FixFor(value="DBZ-1032") public void shouldGenerateRecordHeaderForTombstone() throws InterruptedException
InterruptedException@FixFor(value="DBZ-583") public void shouldDropDeleteMessagesByDefault() throws InterruptedException
InterruptedException@FixFor(value="DBZ-583") public void shouldRewriteDeleteMessage() throws InterruptedException
InterruptedException@FixFor(value="DBZ-583") public void shouldRewriteMessagesWhichAreNotDeletes() throws InterruptedException
InterruptedExceptionpublic void shouldGenerateRecordForDeleteEvent()
throws InterruptedException
InterruptedException@FixFor(value="DBZ-971") public void shouldPropagatePreviousRecordHeaders() throws InterruptedException
InterruptedExceptionpublic void shouldNotFlattenTransformRecordForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldFlattenTransformRecordForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldFlattenWithDelimiterTransformRecordForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldFlattenWithDelimiterTransformRecordForUpdateEvent()
throws InterruptedException
InterruptedExceptionprivate static void waitForStreamingRunning()
throws InterruptedException
InterruptedExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.