Class AbstractIncrementalSnapshotWithSchemaChangesSupportTest<T extends org.apache.kafka.connect.source.SourceConnector>
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest<T>
io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotWithSchemaChangesSupportTest<T>
- All Implemented Interfaces:
Testing
public abstract class AbstractIncrementalSnapshotWithSchemaChangesSupportTest<T extends org.apache.kafka.connect.source.SourceConnector>
extends AbstractIncrementalSnapshotTest<T>
-
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
Fields 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 TypeMethodDescriptionprotected abstract StringalterColumnDropDefaultStatement(String table, String column, String type) protected abstract StringalterColumnDropNotNullStatement(String table, String column, String type) protected abstract StringalterColumnSetDefaultStatement(String table, String column, String type, String defaultValue) protected abstract StringalterColumnSetNotNullStatement(String table, String column, String type) protected abstract StringalterColumnStatement(String table, String column, String type) voidvoidprotected abstract StringcreateTableStatement(String newTable, String copyTable) protected abstract voidexecuteRenameTable(JdbcConnection connection, String newTable) voidvoidprotected abstract StringMethods inherited from class io.debezium.pipeline.source.snapshot.incremental.AbstractIncrementalSnapshotTest
alterTableAddColumnStatement, alterTableDropColumnStatement, config, connectorClass, consumeAnyRemainingIncrementalSnapshotEventsAndCheckForStopMessage, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, consumeRecordsMixedWithIncrementalSnapshot, databaseConnection, getMaximumEnqueuedRecordCount, getSignalTypeFieldName, inserts, invalidTablesInTheList, pkFieldName, populate4PkTable, populateTable, populateTable, populateTable, populateTables, populateTables, removeNotYetCapturedCollectionFromInProgressIncrementalSnapshot, removeStartedCapturedCollectionFromInProgressIncrementalSnapshot, sendAdHocSnapshotSignal, sendAdHocSnapshotSignal, sendAdHocSnapshotSignalAndWait, sendAdHocSnapshotStopSignal, sendAdHocSnapshotStopSignalAndWait, signalTableName, signalTableNameSanitized, snapshotOnly, snapshotOnlyWithRestart, snapshotPreceededBySchemaChange, snapshotWithRegexDataCollections, startConnector, startConnector, startConnector, startConnector, stopCurrentIncrementalSnapshotWithAllCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, stopCurrentIncrementalSnapshotWithoutCollectionsAndTakeNewNewIncrementalSnapshotAfterRestart, tableDataCollectionId, tableDataCollectionIds, tableName, tableNames, topicName, topicNames, updates, updatesLargeChunk, updatesWithRestart, valueFieldName, 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, 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
-
Constructor Details
-
AbstractIncrementalSnapshotWithSchemaChangesSupportTest
public AbstractIncrementalSnapshotWithSchemaChangesSupportTest()
-
-
Method Details
-
tableName
-
alterColumnStatement
-
alterColumnSetNotNullStatement
-
alterColumnDropNotNullStatement
-
alterColumnSetDefaultStatement
-
alterColumnDropDefaultStatement
-
executeRenameTable
protected abstract void executeRenameTable(JdbcConnection connection, String newTable) throws SQLException - Throws:
SQLException
-
createTableStatement
-
schemaChanges
- Throws:
Exception
-
renameTable
- Throws:
Exception
-
columnNullabilityChanges
- Throws:
Exception
-
columnDefaultChanges
- Throws:
Exception
-