Package io.debezium.connector.oracle
Class IncrementalSnapshotIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
io.debezium.connector.oracle.IncrementalSnapshotIT
- All Implemented Interfaces:
Testing
public class IncrementalSnapshotIT
extends AbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
Incremental Snapshots tests for the Oracle connector.
- Author:
- Chris Cranford
-
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 io.debezium.connector.oracle.OracleConnectionFields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
DB_HISTORY_PATH, ROW_COUNTFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()protected StringalterTableAddColumnStatement(String tableName) voidbefore()protected Configuration.Builderconfig()protected Class<io.debezium.connector.oracle.OracleConnector>private voidprotected JdbcConnectionprivate voidprotected Stringprotected Configuration.BuildermutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) protected Stringprotected voidprotected voidprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected voidMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
alterTableDropColumnStatement, consumeAnyRemainingIncrementalSnapshotEventsAndCheckForStopMessage, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, getMaximumEnqueuedRecordCount, inserts, invalidTablesInTheList, populate4PkTable, populateTable, populateTable, populateTables, removeNotYetCapturedCollectionFromInProgressIncrementalSnapshot, removeStartedCapturedCollectionFromInProgressIncrementalSnapshot, sendAdHocSnapshotSignal, sendAdHocSnapshotSignal, sendAdHocSnapshotSignalAndWait, sendAdHocSnapshotStopSignal, sendAdHocSnapshotStopSignalAndWait, shouldSnapshotNewlyAddedTableToIncludeListAfterRestart, signalTableNameSanitized, snapshotOnly, snapshotOnlyWithRestart, snapshotPreceededBySchemaChange, snapshotWithRegexDataCollections, startConnector, startConnector, startConnector, startConnector, startConnectorWithSnapshot, stopCurrentIncrementalSnapshotWithAllCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, stopCurrentIncrementalSnapshotWithoutCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, updates, updatesLargeChunk, updatesWithRestartMethods 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, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, 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, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
connection
private io.debezium.connector.oracle.OracleConnection connection -
skipRule
-
-
Constructor Details
-
IncrementalSnapshotIT
public IncrementalSnapshotIT()
-
-
Method Details
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
waitForConnectorToStart
protected void waitForConnectorToStart()- Overrides:
waitForConnectorToStartin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
populateTable
- Overrides:
populateTablein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
SQLException
-
populateTables
- Overrides:
populateTablesin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
SQLException
-
connectorClass
- Specified by:
connectorClassin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
topicName
- Specified by:
topicNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
topicNames
- Specified by:
topicNamesin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableName
- Specified by:
tableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableNames
- Specified by:
tableNamesin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableDataCollectionId
- Overrides:
tableDataCollectionIdin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableDataCollectionIds
- Overrides:
tableDataCollectionIdsin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
signalTableName
- Specified by:
signalTableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
config
- Specified by:
configin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
mutableConfig
protected Configuration.Builder mutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) - Specified by:
mutableConfigin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
valueFieldName
- Overrides:
valueFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
pkFieldName
- Overrides:
pkFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
getSignalTypeFieldName
- Overrides:
getSignalTypeFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
alterTableAddColumnStatement
- Overrides:
alterTableAddColumnStatementin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
createTables
- Throws:
Exception
-
dropTables
- Throws:
Exception
-