Package io.debezium.processors
Class AbstractReselectProcessorTest<T extends org.apache.kafka.connect.source.SourceConnector>
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.processors.AbstractReselectProcessorTest<T>
- All Implemented Interfaces:
Testing
public abstract class AbstractReselectProcessorTest<T extends org.apache.kafka.connect.source.SourceConnector>
extends AbstractConnectorTest
- 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
Fields 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 abstract voidprotected abstract JdbcConnectionprotected abstract voidprotected Stringprotected abstract Configuration.Builderprotected abstract Stringprotected abstract Stringprotected abstract Stringprotected abstract Stringvoidvoidvoidvoidvoidprotected abstract Stringprotected abstract 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, 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
-
Constructor Details
-
AbstractReselectProcessorTest
public AbstractReselectProcessorTest()
-
-
Method Details
-
getConnectorClass
-
databaseConnection
-
getConfigurationBuilder
-
topicName
-
tableName
-
reselectColumnsList
-
createTable
- Throws:
Exception
-
dropTable
- Throws:
Exception
-
getInsertWithValue
-
getInsertWithNullValue
-
waitForStreamingStarted
- Throws:
InterruptedException
-
beforeEach
- Throws:
Exception
-
afterEach
- Throws:
Exception
-
testNoColumnsReselectedWhenNotNullSnapshot
- Throws:
Exception
-
testNoColumnsReselectedWhenNotNullStreaming
- Throws:
Exception
-
testColumnsReselectedWhenValueIsNullSnapshot
- Throws:
Exception
-
testColumnsReselectedWhenValueIsNullStreaming
- Throws:
Exception
-
consumeRecordsByTopicReselectWhenNotNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullSnapshot() throws InterruptedException- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNotNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNotNullStreaming() throws InterruptedException- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullSnapshot
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullSnapshot() throws InterruptedException- Throws:
InterruptedException
-
consumeRecordsByTopicReselectWhenNullStreaming
protected AbstractConnectorTest.SourceRecords consumeRecordsByTopicReselectWhenNullStreaming() throws InterruptedException- Throws:
InterruptedException
-
fieldName
-