Package io.debezium.connector.sqlserver
Class SnapshotWithSelectOverridesIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.sqlserver.SnapshotWithSelectOverridesIT
- All Implemented Interfaces:
Testing
Integration test for using snapshot SELECT overrides with the Debezium SQL Server connector.
- Author:
- Gunnar Morling
-
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.SqlServerConnectionprivate static final intFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()voidbefore()private voidtakeSnapshotWithOverrides(Configuration config, String topicPrefix) voidprivate voidtakeSnapshotWithOverridesWithAdditionalWhitespace(Configuration config, String topicPrefix) voidMethods 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, getMaximumEnqueuedRecordCount, 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, waitForNotInitialState, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
INITIAL_RECORDS_PER_TABLE
private static final int INITIAL_RECORDS_PER_TABLE- See Also:
-
connection
private io.debezium.connector.sqlserver.SqlServerConnection connection
-
-
Constructor Details
-
SnapshotWithSelectOverridesIT
public SnapshotWithSelectOverridesIT()
-
-
Method Details
-
before
- Throws:
SQLException
-
after
- Throws:
SQLException
-
takeSnapshotWithOverridesInMultiPartitionMode
@FixFor({"DBZ-1224","DBZ-2975"}) public void takeSnapshotWithOverridesInMultiPartitionMode() throws Exception- Throws:
Exception
-
takeSnapshotWithOverrides
- Throws:
Exception
-
takeSnapshotWithOverridesWithAdditionalWhitespaceInMultiPartitionMode
@FixFor({"DBZ-3429","DBZ-2975"}) public void takeSnapshotWithOverridesWithAdditionalWhitespaceInMultiPartitionMode() throws Exception- Throws:
Exception
-
takeSnapshotWithOverridesWithAdditionalWhitespace
private void takeSnapshotWithOverridesWithAdditionalWhitespace(Configuration config, String topicPrefix) throws Exception - Throws:
Exception
-