Interface BinlogReaderMetricsMXBean
-
- All Superinterfaces:
ChangeEventSourceMetricsMXBean
,StreamingChangeEventSourceMetricsMXBean
- All Known Implementing Classes:
BinlogReaderMetrics
public interface BinlogReaderMetricsMXBean extends StreamingChangeEventSourceMetricsMXBean
- Author:
- Randall Hauch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBinlogFilename()
Name of the current MySQL binlog file being read by underlying mysql-binlog-client.long
getBinlogPosition()
Current MySQL binlog offset position being read by underlying mysql-binlog-client.String
getGtidSet()
Current MySQL Gtid being read by underlying mysql-binlog-client.boolean
getIsGtidModeEnabled()
Tracks if the connector is running using Gtids to track current offset.long
getNumberOfCommittedTransactions()
Tracks the number of committed transactions.long
getNumberOfDisconnects()
Tracks the number of times the underlying mysql-binlog-client has been disconnected from MySQL.long
getNumberOfLargeTransactions()
Tracks the number of transaction which contains events that contained more entries than could be contained within the connectors {@see io.debezium.connector.mysql.EventBuffer} instance.long
getNumberOfNotWellFormedTransactions()
Tracks the number of transactions which are not well-formed.long
getNumberOfRolledBackTransactions()
Tracks the number of rolled back transactions.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.-
Methods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean
getCapturedTables, getCurrentQueueSizeInBytes, getLastEvent, getMaxQueueSizeInBytes, getMilliSecondsSinceLastEvent, getMonitoredTables, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getQueueRemainingCapacity, getQueueTotalCapacity, getTotalNumberOfEventsSeen, reset
-
Methods inherited from interface io.debezium.pipeline.metrics.StreamingChangeEventSourceMetricsMXBean
getLastTransactionId, getMilliSecondsBehindSource, getSourceEventPosition, isConnected
-
-
-
-
Method Detail
-
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:
getNumberOfCommittedTransactions
in interfaceStreamingChangeEventSourceMetricsMXBean
-
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 {@see io.debezium.connector.mysql.EventBuffer} instance.
-
getIsGtidModeEnabled
boolean getIsGtidModeEnabled()
Tracks if the connector is running using Gtids to track current offset.- Returns:
- true if using Gtids, false if not.
-
-