Package io.debezium.connector.mysql
Class TransactionMetadataIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mysql.TransactionMetadataIT
- All Implemented Interfaces:
Testing
-
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
FieldsModifier and TypeFieldDescriptionprivate Configurationprivate static final Stringprivate static final Stringprivate final UniqueDatabaseprivate static final Pathprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate intfindFirstEvent(List<org.apache.kafka.connect.source.SourceRecord> records, String txId) private StringvoidvoidvoidMethods 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, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
PRODUCT_INSERT_STMT
- See Also:
-
CUSTOMER_INSERT_STMT_1
- See Also:
-
CUSTOMER_INSERT_STMT_2
- See Also:
-
ORDER_INSERT_STMT
- See Also:
-
DB_HISTORY_PATH
-
SERVER_NAME
- See Also:
-
DATABASE
-
config
-
-
Constructor Details
-
TransactionMetadataIT
public TransactionMetadataIT()
-
-
Method Details
-
beforeEach
public void beforeEach() -
afterEach
public void afterEach() -
transactionMetadataEnabled
- Throws:
InterruptedExceptionSQLException
-
shouldUseConfiguredTransactionTopicName
@FixFor("DBZ-4077") public void shouldUseConfiguredTransactionTopicName() throws InterruptedException, SQLException- Throws:
InterruptedExceptionSQLException
-
shouldUseConfiguredTransactionTopicNameWithoutServerName
@FixFor("DBZ-4077") public void shouldUseConfiguredTransactionTopicNameWithoutServerName() throws InterruptedException, SQLException- Throws:
InterruptedExceptionSQLException
-
getTxId
-
findFirstEvent
-