Package io.debezium.connector.binlog
Class BinlogReselectColumnsProcessorIT<C extends org.apache.kafka.connect.source.SourceConnector>
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
io.debezium.processors.AbstractReselectProcessorTest<C>
io.debezium.connector.binlog.BinlogReselectColumnsProcessorIT<C>
- All Implemented Interfaces:
BinlogConnectorTest<C>,Testing
public abstract class BinlogReselectColumnsProcessorIT<C extends org.apache.kafka.connect.source.SourceConnector>
extends AbstractReselectProcessorTest<C>
implements BinlogConnectorTest<C>
Binlog-based connector 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 BinlogTestConnectionprivate 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 Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected voidMethods inherited from class io.debezium.processors.AbstractReselectProcessorTest
assertColumnReselectedForUnavailableValue, enableTableForCdc, fieldName, getConnectorClass, 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, waitForAvailableRecords, waitForConnectorShutdown, waitForEngineShutdown, waitForSnapshotToBeCompleted, waitForSnapshotToBeCompleted, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNullsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.binlog.BinlogConnectorTest
getConnectorClass, getConnectorName, getTestDatabaseConnection, getTestDatabaseConnection, getTestReplicaDatabaseConnection, isMariaDb
-
Field Details
-
SCHEMA_HISTORY_PATH
-
DATABASE
-
connection
-
-
Constructor Details
-
BinlogReselectColumnsProcessorIT
public BinlogReselectColumnsProcessorIT()
-
-
Method Details
-
beforeEach
- Overrides:
beforeEachin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
Exception
-
afterEach
- Overrides:
afterEachin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
Exception
-
databaseConnection
- Specified by:
databaseConnectionin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
getConfigurationBuilder
- Specified by:
getConfigurationBuilderin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
topicName
- Specified by:
topicNamein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
tableName
- Specified by:
tableNamein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
reselectColumnsList
- Specified by:
reselectColumnsListin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
createTable
- Specified by:
createTablein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
Exception
-
dropTable
- Specified by:
dropTablein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
Exception
-
getInsertWithValue
- Specified by:
getInsertWithValuein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
getInsertWithNullValue
- Specified by:
getInsertWithNullValuein classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>
-
waitForStreamingStarted
- Specified by:
waitForStreamingStartedin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNotNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullSnapshot() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNotNullSnapshotin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNotNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullStreaming() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNotNullStreamingin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullSnapshot() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNullSnapshotin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullStreaming() throws InterruptedException- Overrides:
consumeRecordsByTopicReselectWhenNullStreamingin classAbstractReselectProcessorTest<C extends org.apache.kafka.connect.source.SourceConnector>- Throws:
InterruptedException
-