Package io.debezium.embedded.async
Class AbstractAsyncEngineConnectorTest
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.embedded.async.AbstractAsyncEngineConnectorTest
- All Implemented Interfaces:
Testing
- Direct Known Subclasses:
AbstractCloudEventsConverterTest,AbstractEventRouterTest,AbstractMetricsTest,AbstractNotificationsIT,AbstractReselectProcessorTest,AbstractSchemaHistoryTest,AbstractSnapshotTest
Base class for testing connectors using
AsyncEmbeddedEngine.- Author:
- vjuranek
-
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, requiresAssemblyProfileClassRule, requiresAssemblyProfileRule, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TestingDebeziumEngine<org.apache.kafka.connect.source.SourceRecord> createEngine(io.debezium.engine.DebeziumEngine.Builder<org.apache.kafka.connect.source.SourceRecord> builder) Creates instance ofDebeziumEnginewhich should be used for testing across the testsuite.protected io.debezium.engine.DebeziumEngine.Builder<org.apache.kafka.connect.source.SourceRecord> Creates instance ofDebeziumEngine.Builderwhich corresponds to theDebeziumEngineprovided by theAbstractConnectorTest.createEngine(DebeziumEngine.Builder)method.protected io.debezium.engine.DebeziumEngine.SignalerMethods 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, cleanupTestFwkState, configValue, consumeAvailableRecords, consumeAvailableRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsButSkipUntil, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, 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, waitForSnapshotWithCustomMetricsToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingRunning, waitForStreamingWithCustomMetricsToStart, waitForStreamingWithCustomMetricsToStart, waitTimeForEngine, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Constructor Details
-
AbstractAsyncEngineConnectorTest
public AbstractAsyncEngineConnectorTest()
-
-
Method Details
-
createEngineBuilder
protected io.debezium.engine.DebeziumEngine.Builder<org.apache.kafka.connect.source.SourceRecord> createEngineBuilder()Description copied from class:AbstractConnectorTestCreates instance ofDebeziumEngine.Builderwhich corresponds to theDebeziumEngineprovided by theAbstractConnectorTest.createEngine(DebeziumEngine.Builder)method.- Specified by:
createEngineBuilderin classAbstractConnectorTest
-
createEngine
protected TestingDebeziumEngine<org.apache.kafka.connect.source.SourceRecord> createEngine(io.debezium.engine.DebeziumEngine.Builder<org.apache.kafka.connect.source.SourceRecord> builder) Description copied from class:AbstractConnectorTestCreates instance ofDebeziumEnginewhich should be used for testing across the testsuite.- Specified by:
createEnginein classAbstractConnectorTest
-
getSignaler
protected io.debezium.engine.DebeziumEngine.Signaler getSignaler()
-