public class TransactionMetadataIT 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.sqlserver.SqlServerConnection |
connection |
SkipTestRule |
skipRule |
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule| Constructor and Description |
|---|
TransactionMetadataIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
private void |
assertRecord(org.apache.kafka.connect.data.Struct record,
List<SchemaAndValueField> expected) |
void |
before() |
void |
restartInTheMiddleOfTx() |
private void |
restartInTheMiddleOfTx(boolean restartJustAfterSnapshot,
boolean afterStreaming) |
void |
restartInTheMiddleOfTxAfterCompletedTx() |
void |
restartInTheMiddleOfTxAfterSnapshot() |
void |
transactionMetadata() |
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, getStreamingNamespace, 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, timeprivate io.debezium.connector.sqlserver.SqlServerConnection connection
public SkipTestRule skipRule
public void before()
throws SQLException
SQLExceptionpublic void after()
throws SQLException
SQLExceptionprivate void restartInTheMiddleOfTx(boolean restartJustAfterSnapshot,
boolean afterStreaming)
throws Exception
Exceptionpublic void restartInTheMiddleOfTxAfterSnapshot()
throws Exception
Exceptionpublic void restartInTheMiddleOfTxAfterCompletedTx()
throws Exception
Exceptionprivate void assertRecord(org.apache.kafka.connect.data.Struct record,
List<SchemaAndValueField> expected)
Copyright © 2021 JBoss by Red Hat. All rights reserved.