public abstract class AbstractExtractNewDocumentStateTestIT extends AbstractConnectorTest
AbstractConnectorTest.SourceRecordsTesting.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer| Modifier and Type | Field and Description |
|---|---|
private io.debezium.connector.mongodb.MongoDbTaskContext |
context |
protected static String |
DB_NAME |
protected static String |
SERVER_NAME |
protected io.debezium.connector.mongodb.transforms.ExtractNewDocumentState<org.apache.kafka.connect.source.SourceRecord> |
transformation |
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
AbstractExtractNewDocumentStateTestIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
void |
beforeEach(Configuration config) |
private BiConsumer<String,Throwable> |
connectionErrorHandler(int numErrorsBeforeFailing) |
protected abstract String |
getCollectionName() |
(package private) org.apache.kafka.connect.source.SourceRecord |
getNextRecord() |
(package private) org.apache.kafka.connect.source.SourceRecord |
getRecordByOperation(Envelope.Operation operation) |
protected org.apache.kafka.connect.source.SourceRecord |
getUpdateRecord() |
protected io.debezium.connector.mongodb.ConnectionContext.MongoPrimary |
primary() |
protected void |
restartConnectorWithoutEmittingTombstones() |
protected String |
topicName() |
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, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecordsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, once, once, print, print, printError, printError, printError, resetBeforeEachTest, time, timeprotected static final String DB_NAME
protected static final String SERVER_NAME
private io.debezium.connector.mongodb.MongoDbTaskContext context
protected io.debezium.connector.mongodb.transforms.ExtractNewDocumentState<org.apache.kafka.connect.source.SourceRecord> transformation
public AbstractExtractNewDocumentStateTestIT()
protected abstract String getCollectionName()
protected String topicName()
public void beforeEach()
public void beforeEach(Configuration config)
public void afterEach()
protected void restartConnectorWithoutEmittingTombstones()
org.apache.kafka.connect.source.SourceRecord getRecordByOperation(Envelope.Operation operation) throws InterruptedException
InterruptedExceptionorg.apache.kafka.connect.source.SourceRecord getNextRecord()
throws InterruptedException
InterruptedExceptionprotected org.apache.kafka.connect.source.SourceRecord getUpdateRecord()
throws InterruptedException
InterruptedExceptionprotected io.debezium.connector.mongodb.ConnectionContext.MongoPrimary primary()
private BiConsumer<String,Throwable> connectionErrorHandler(int numErrorsBeforeFailing)
Copyright © 2021 JBoss by Red Hat. All rights reserved.