Package io.debezium.connector.mysql
Class MySqlReselectColumnsProcessorIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
io.debezium.processors.AbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
io.debezium.connector.mysql.MySqlReselectColumnsProcessorIT
- All Implemented Interfaces:
Testing
public class MySqlReselectColumnsProcessorIT
extends AbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
MySQL's 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 MySqlTestConnectionprivate final UniqueDatabaseprivate static final PathFields 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 AbstractConnectorTest.SourceRecordsprotected AbstractConnectorTest.SourceRecordsprotected AbstractConnectorTest.SourceRecordsprotected voidprotected JdbcConnectionprotected voidprotected Configuration.Builderprotected Class<io.debezium.connector.mysql.MySqlConnector>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected voidMethods inherited from class io.debezium.processors.AbstractReselectProcessorTest
assertColumnReselectedForUnavailableValue, enableTableForCdc, fieldName, getReselectLogInterceptor, testColumnsReselectedWhenValueIsNullSnapshot, testColumnsReselectedWhenValueIsNullStreaming, testNoColumnsReselectedWhenNotNullSnapshot, testNoColumnsReselectedWhenNotNullStreaming, testNoColumnsReselectedWhenNullAndUnavailableColumnsAreDisabledMethods 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, 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, storeOffsets, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
SCHEMA_HISTORY_PATH
-
DATABASE
-
connection
-
-
Constructor Details
-
MySqlReselectColumnsProcessorIT
public MySqlReselectColumnsProcessorIT()
-
-
Method Details
-
beforeEach
- Overrides:
beforeEachin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
Exception
-
afterEach
- Overrides:
afterEachin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
Exception
-
getConnectorClass
- Specified by:
getConnectorClassin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
getConfigurationBuilder
- Specified by:
getConfigurationBuilderin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
topicName
- Specified by:
topicNamein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
tableName
- Specified by:
tableNamein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
reselectColumnsList
- Specified by:
reselectColumnsListin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
createTable
- Specified by:
createTablein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
Exception
-
dropTable
- Specified by:
dropTablein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
Exception
-
getInsertWithValue
- Specified by:
getInsertWithValuein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
getInsertWithNullValue
- Specified by:
getInsertWithNullValuein classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>
-
waitForStreamingStarted
- Specified by:
waitForStreamingStartedin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNotNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullSnapshot() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNotNullSnapshotin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNotNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullStreaming() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNotNullStreamingin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullSnapshot() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNullSnapshotin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullStreaming() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNullStreamingin classAbstractReselectProcessorTest<io.debezium.connector.mysql.MySqlConnector>- Throws:
InterruptedException
-