Package io.debezium.connector.sqlserver
Class SqlServerReselectColumnsProcessorIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.processors.AbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
io.debezium.connector.sqlserver.SqlServerReselectColumnsProcessorIT
- All Implemented Interfaces:
Testing
public class SqlServerReselectColumnsProcessorIT
extends AbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
SQL Server integration tests for
ReselectColumnsPostProcessor.- 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.sqlserver.SqlServerConnectionFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, isEngineRunning, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected AbstractConnectorTest.SourceRecordsprotected voidprotected JdbcConnectionprotected voidprotected Configuration.Builderprotected Class<io.debezium.connector.sqlserver.SqlServerConnector>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected voidMethods inherited from class io.debezium.processors.AbstractReselectProcessorTest
consumeRecordsByTopicReselectWhenNotNullSnapshot, consumeRecordsByTopicReselectWhenNotNullStreaming, consumeRecordsByTopicReselectWhenNullStreaming, fieldName, testColumnsReselectedWhenValueIsNullSnapshot, testColumnsReselectedWhenValueIsNullStreaming, testNoColumnsReselectedWhenNotNullSnapshot, testNoColumnsReselectedWhenNotNullStreaming, testNoColumnsReselectedWhenNullAndUnavailableColumnsAreDisabledMethods 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, getMaximumEnqueuedRecordCount, 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, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
connection
private io.debezium.connector.sqlserver.SqlServerConnection connection
-
-
Constructor Details
-
SqlServerReselectColumnsProcessorIT
public SqlServerReselectColumnsProcessorIT()
-
-
Method Details
-
beforeEach
- Overrides:
beforeEachin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
Exception
-
afterEach
- Overrides:
afterEachin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
Exception
-
getConnectorClass
- Specified by:
getConnectorClassin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
getConfigurationBuilder
- Specified by:
getConfigurationBuilderin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
topicName
- Specified by:
topicNamein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
tableName
- Specified by:
tableNamein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
reselectColumnsList
- Specified by:
reselectColumnsListin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
createTable
- Specified by:
createTablein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
Exception
-
dropTable
- Specified by:
dropTablein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
Exception
-
getInsertWithValue
- Specified by:
getInsertWithValuein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
getInsertWithNullValue
- Specified by:
getInsertWithNullValuein classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>
-
waitForStreamingStarted
- Specified by:
waitForStreamingStartedin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullSnapshot() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNullSnapshotin classAbstractReselectProcessorTest<io.debezium.connector.sqlserver.SqlServerConnector>- Throws:
InterruptedException
-