Package io.debezium.connector.mysql
Interface MySqlStreamingChangeEventSourceMetricsMXBean
- All Superinterfaces:
ChangeEventSourceMetricsMXBean,CommonEventMetricsMXBean,ConnectionMetricsMXBean,QueueMetricsMXBean,SchemaMetricsMXBean,StreamingChangeEventSourceMetricsMXBean,StreamingMetricsMXBean
- All Known Implementing Classes:
MySqlStreamingChangeEventSourceMetrics
public interface MySqlStreamingChangeEventSourceMetricsMXBean
extends StreamingChangeEventSourceMetricsMXBean
- Author:
- Randall Hauch
-
Method Summary
Modifier and TypeMethodDescriptionName of the current MySQL binlog file being read by underlying mysql-binlog-client.longCurrent MySQL binlog offset position being read by underlying mysql-binlog-client.Current MySQL Gtid being read by underlying mysql-binlog-client.booleanTracks if the connector is running using Gtids to track current offset.longTracks the number of committed transactions.longTracks the number of times the underlying mysql-binlog-client has been disconnected from MySQL.longTracks the number of transaction which contains events that contained more entries than could be contained within the connectors instance.longTracks the number of transactions which are not well-formed.longTracks the number of rolled back transactions.longTracks the number of events skipped by underlying mysql-binlog-client, generally due to the client being unable to properly deserialize the event.Methods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean
getMonitoredTables, resetMethods inherited from interface io.debezium.pipeline.metrics.traits.CommonEventMetricsMXBean
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, getTotalNumberOfUpdateEventsSeenMethods inherited from interface io.debezium.pipeline.metrics.traits.ConnectionMetricsMXBean
isConnectedMethods inherited from interface io.debezium.pipeline.metrics.traits.QueueMetricsMXBean
getCurrentQueueSizeInBytes, getMaxQueueSizeInBytes, getQueueRemainingCapacity, getQueueTotalCapacityMethods inherited from interface io.debezium.pipeline.metrics.traits.SchemaMetricsMXBean
getCapturedTablesMethods inherited from interface io.debezium.pipeline.metrics.traits.StreamingMetricsMXBean
getLastTransactionId, getMilliSecondsBehindSource, getSourceEventPosition
-
Method Details
-
getBinlogFilename
String getBinlogFilename()Name of the current MySQL binlog file being read by underlying mysql-binlog-client. -
getBinlogPosition
long getBinlogPosition()Current MySQL binlog offset position being read by underlying mysql-binlog-client. -
getGtidSet
String getGtidSet()Current MySQL Gtid being read by underlying mysql-binlog-client. -
getNumberOfSkippedEvents
long getNumberOfSkippedEvents()Tracks the number of events skipped by underlying mysql-binlog-client, generally due to the client being unable to properly deserialize the event. -
getNumberOfDisconnects
long getNumberOfDisconnects()Tracks the number of times the underlying mysql-binlog-client has been disconnected from MySQL. -
getNumberOfCommittedTransactions
long getNumberOfCommittedTransactions()Tracks the number of committed transactions.- Specified by:
getNumberOfCommittedTransactionsin interfaceStreamingMetricsMXBean
-
getNumberOfRolledBackTransactions
long getNumberOfRolledBackTransactions()Tracks the number of rolled back transactions. -
getNumberOfNotWellFormedTransactions
long getNumberOfNotWellFormedTransactions()Tracks the number of transactions which are not well-formed. Example - The connector sees a commit TX event without a matched begin TX event. -
getNumberOfLargeTransactions
long getNumberOfLargeTransactions()Tracks the number of transaction which contains events that contained more entries than could be contained within the connectors instance. -
getIsGtidModeEnabled
boolean getIsGtidModeEnabled()Tracks if the connector is running using Gtids to track current offset.- Returns:
- true if using Gtids, false if not.
-