Package io.debezium.connector.mysql
Class TransactionMetadataIT
- java.lang.Object
-
- io.debezium.embedded.AbstractConnectorTest
-
- io.debezium.connector.mysql.TransactionMetadataIT
-
- All Implemented Interfaces:
Testing
public class TransactionMetadataIT extends AbstractConnectorTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecords
-
Nested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer
-
-
Field Summary
Fields Modifier and Type Field Description private Configurationconfigprivate static StringCUSTOMER_INSERT_STMT_1private static StringCUSTOMER_INSERT_STMT_2private UniqueDatabaseDATABASEprivate static PathDB_HISTORY_PATHprivate static StringORDER_INSERT_STMTprivate static StringPRODUCT_INSERT_STMTprivate static StringSERVER_NAME-
Fields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule
-
-
Constructor Summary
Constructors Constructor Description TransactionMetadataIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach()voidbeforeEach()voidtransactionMetadataEnabled()-
Methods 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, 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, waitTimeForRecords
-
-
-
-
Field Detail
-
PRODUCT_INSERT_STMT
private static final String PRODUCT_INSERT_STMT
- See Also:
- Constant Field Values
-
CUSTOMER_INSERT_STMT_1
private static final String CUSTOMER_INSERT_STMT_1
- See Also:
- Constant Field Values
-
CUSTOMER_INSERT_STMT_2
private static final String CUSTOMER_INSERT_STMT_2
- See Also:
- Constant Field Values
-
ORDER_INSERT_STMT
private static final String ORDER_INSERT_STMT
- See Also:
- Constant Field Values
-
DB_HISTORY_PATH
private static final Path DB_HISTORY_PATH
-
SERVER_NAME
private static final String SERVER_NAME
- See Also:
- Constant Field Values
-
DATABASE
private final UniqueDatabase DATABASE
-
config
private Configuration config
-
-
Method Detail
-
beforeEach
public void beforeEach()
-
afterEach
public void afterEach()
-
transactionMetadataEnabled
public void transactionMetadataEnabled() throws InterruptedException, SQLException- Throws:
InterruptedExceptionSQLException
-
-