Package io.debezium.connector.mysql
Class MySqlMetricsIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.mysql.MySqlMetricsIT
- All Implemented Interfaces:
Testing
- Author:
- Chris Cranford
-
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 final UniqueDatabaseprivate static final Pathprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class io.debezium.embedded.AbstractConnectorTest
consumedLines, engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()private voidprivate voidprivate voidprivate voidprivate voidassertStreamingMetrics(long events) private voidvoidbefore()private ObjectNameprivate ObjectNamevoidvoidvoidvoidprivate voidprivate voidMethods 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, getConsumer, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
DB_HISTORY_PATH
-
SERVER_NAME
- See Also:
-
DATABASE
-
INSERT1
- See Also:
-
INSERT2
- See Also:
-
-
Constructor Details
-
MySqlMetricsIT
public MySqlMetricsIT()
-
-
Method Details
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
testLifecycle
- Throws:
Exception
-
testSnapshotOnlyMetrics
- Throws:
Exception
-
testSnapshotAndStreamingMetrics
- Throws:
Exception
-
testStreamingOnlyMetrics
- Throws:
Exception
-
assertNoSnapshotMetricsExist
- Throws:
Exception
-
assertNoStreamingMetricsExist
- Throws:
Exception
-
assertStreamingMetricsExist
- Throws:
Exception
-
assertSnapshotMetricsExist
- Throws:
Exception
-
assertSnapshotMetrics
- Throws:
Exception
-
assertStreamingMetrics
- Throws:
Exception
-
getSnapshotMetricsObjectName
- Throws:
MalformedObjectNameException
-
getStreamingMetricsObjectName
- Throws:
MalformedObjectNameException
-
waitForSnapshotToBeCompleted
- Throws:
InterruptedException
-
waitForStreamingToStart
- Throws:
InterruptedException
-