Package io.debezium.connector.oracle
Class IncrementalSnapshotIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
io.debezium.pipeline.source.snapshot.incremental.AbstractSnapshotTest<T>
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
kafkaFields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractSnapshotTest
PARTITION_NO, ROW_COUNT, SCHEMA_HISTORY_PATH, SERVER_NAMEFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()protected StringalterTableAddColumnStatement(String tableName) voidbefore()protected Configuration.Builderconfig()protected Stringprotected Class<io.debezium.connector.oracle.OracleConnector>private voidprotected JdbcConnectionprotected intprivate voidprotected Stringprotected Configuration.BuildermutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) protected Stringprotected Stringprotected Stringprotected Stringprotected voidprotected voidprotected StringreturnedIdentifierName(String queriedID) protected Stringserver()protected Stringvoidprotected Stringprotected Stringprotected Stringprotected Stringprotected voidMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
consumeAnyRemainingIncrementalSnapshotEventsAndCheckForStopMessage, getSignalsTopic, insertDeleteWatermarkingStrategy, insertInsertWatermarkingStrategy, inserts, insertsWithKafkaSnapshotSignal, insertsWithoutPks, insertsWithoutPksAndNull, invalidTablesInTheList, removeNotYetCapturedCollectionFromInProgressIncrementalSnapshot, removeStartedCapturedCollectionFromInProgressIncrementalSnapshot, sendAdHocKafkaSnapshotSignal, sendAdHocSnapshotSignal, sendAdHocSnapshotSignalAndWait, sendAdHocSnapshotStopSignal, sendAdHocSnapshotStopSignalAndWait, sendExecuteSnapshotKafkaSignal, sendKafkaSignal, sendPauseSignal, sendResumeSignal, shouldExecuteRegularSnapshotWhenAdditionalConditionEmpty, shouldSnapshotNewlyAddedTableToIncludeListAfterRestart, snapshotOnly, snapshotOnlyWithRestart, snapshotWithAdditionalCondition, snapshotWithAdditionalConditionWithRestart, snapshotWithAdditionalConditionWithSurrogateKey, snapshotWithDuplicateDataCollections, snapshotWithNewAdditionalConditionsField, snapshotWithRegexDataCollections, snapshotWithSurrogateKey, stopCurrentIncrementalSnapshotWithAllCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, stopCurrentIncrementalSnapshotWithoutCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, testNotification, testPauseDuringSnapshot, updates, updatesLargeChunk, updatesWithRestartMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractSnapshotTest
alterTableDropColumnStatement, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, database, getMaximumEnqueuedRecordCount, getRecordValue, populate4PkTable, populateTable, populateTable, populateTable, populateTables, populateTableWithSpecificValue, sendAdHocSnapshotSignal, sendAdHocSnapshotSignalWithAdditionalConditionsWithSurrogateKey, sendAdHocSnapshotSignalWithAdditionalConditionsWithSurrogateKey, sendAdHocSnapshotSignalWithAdditionalConditionWithSurrogateKey, sendAdHocSnapshotSignalWithAdditionalConditionWithSurrogateKey, signalTableNameSanitized, startConnector, startConnector, startConnector, startConnector, startConnectorWithSnapshot, task, waitForCdcTransactionPropagationMethods inherited from class io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
createEngine, createEngineBuilderMethods 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, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, 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 classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
populateTable
- Overrides:
populateTablein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
SQLException
-
populateTables
- Overrides:
populateTablesin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
SQLException
-
connectorClass
- Specified by:
connectorClassin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
topicName
- Specified by:
topicNamein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
topicNames
- Specified by:
topicNamesin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableName
- Specified by:
tableNamein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
noPKTopicName
- Specified by:
noPKTopicNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
noPKTableName
- Specified by:
noPKTableNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
returnedIdentifierName
- Overrides:
returnedIdentifierNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableNames
- Specified by:
tableNamesin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableDataCollectionId
- Overrides:
tableDataCollectionIdin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
noPKTableDataCollectionId
- Overrides:
noPKTableDataCollectionIdin classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
tableDataCollectionIds
- Overrides:
tableDataCollectionIdsin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
signalTableName
- Specified by:
signalTableNamein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
config
- Specified by:
configin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
mutableConfig
protected Configuration.Builder mutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) - Specified by:
mutableConfigin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
valueFieldName
- Overrides:
valueFieldNamein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
pkFieldName
- Overrides:
pkFieldNamein classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
getSignalTypeFieldName
- Overrides:
getSignalTypeFieldNamein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
alterTableAddColumnStatement
- Overrides:
alterTableAddColumnStatementin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
defaultIncrementalSnapshotChunkSize
protected int defaultIncrementalSnapshotChunkSize()- Overrides:
defaultIncrementalSnapshotChunkSizein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
connector
- Specified by:
connectorin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
server
- Specified by:
serverin classAbstractSnapshotTest<io.debezium.connector.oracle.OracleConnector>
-
snapshotPreceededBySchemaChange
- Overrides:
snapshotPreceededBySchemaChangein classAbstractIncrementalSnapshotTest<io.debezium.connector.oracle.OracleConnector>- Throws:
Exception
-
createTables
- Throws:
Exception
-
dropTables
- Throws:
Exception
-