Package io.debezium.connector.db2
Class IncrementalSnapshotIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
io.debezium.connector.db2.IncrementalSnapshotIT
- All Implemented Interfaces:
io.debezium.util.Testing
public class IncrementalSnapshotIT
extends io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
io.debezium.util.Testing.Debug, io.debezium.util.Testing.Files, io.debezium.util.Testing.InterruptableFunction, io.debezium.util.Testing.Network, io.debezium.util.Testing.Print, io.debezium.util.Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate io.debezium.connector.db2.Db2Connectionio.debezium.junit.SkipTestRuleFields inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
DB_HISTORY_PATH, ROW_COUNTFields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()voidbefore()protected io.debezium.config.Configuration.Builderconfig()protected Class<io.debezium.connector.db2.Db2Connector>protected io.debezium.jdbc.JdbcConnectionprotected io.debezium.config.Configuration.BuildermutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) protected Stringprotected voidprotected voidprotected Stringprotected Stringprotected Stringprotected StringMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
alterTableAddColumnStatement, alterTableDropColumnStatement, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, getMaximumEnqueuedRecordCount, inserts, invalidTablesInTheList, populate4PkTable, populateTable, populateTable, populateTables, populateTables, sendAdHocSnapshotSignal, shouldSnapshotNewlyAddedTableToIncludeListAfterRestart, snapshotOnly, snapshotOnlyWithRestart, snapshotPreceededBySchemaChange, startConnector, startConnector, startConnector, startConnector, startConnectorWithSnapshot, tableDataCollectionId, tableNames, updates, updatesLargeChunk, updatesWithRestart, waitForConnectorToStartMethods 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, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNullsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.util.Testing
once, once, resetBeforeEachTest, time, time
-
Field Details
-
connection
private io.debezium.connector.db2.Db2Connection connection -
skipRule
public io.debezium.junit.SkipTestRule skipRule
-
-
Constructor Details
-
IncrementalSnapshotIT
public IncrementalSnapshotIT()
-
-
Method Details
-
before
- Throws:
SQLException
-
after
- Throws:
SQLException
-
populateTable
- Overrides:
populateTablein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>- Throws:
SQLException
-
connectorClass
- Specified by:
connectorClassin classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
databaseConnection
protected io.debezium.jdbc.JdbcConnection databaseConnection()- Specified by:
databaseConnectionin classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
topicName
- Specified by:
topicNamein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
tableName
- Specified by:
tableNamein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
signalTableName
- Specified by:
signalTableNamein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
sendAdHocSnapshotSignal
- Overrides:
sendAdHocSnapshotSignalin classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>- Throws:
SQLException
-
config
protected io.debezium.config.Configuration.Builder config()- Specified by:
configin classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
mutableConfig
protected io.debezium.config.Configuration.Builder mutableConfig(boolean signalTableOnly, boolean storeOnlyCapturedDdl) - Specified by:
mutableConfigin classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
pkFieldName
- Overrides:
pkFieldNamein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-
valueFieldName
- Overrides:
valueFieldNamein classio.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<io.debezium.connector.db2.Db2Connector>
-