Interface BinlogStreamingChangeEventSourceMetricsMXBean
- All Superinterfaces:
ChangeEventSourceMetricsMXBean,CommonEventMetricsMXBean,ConnectionMetricsMXBean,QueueMetricsMXBean,SchemaMetricsMXBean,StreamingChangeEventSourceMetricsMXBean,StreamingMetricsMXBean
- All Known Implementing Classes:
BinlogStreamingChangeEventSourceMetrics
public interface BinlogStreamingChangeEventSourceMetricsMXBean
extends StreamingChangeEventSourceMetricsMXBean
- Author:
- Chris Cranford
-
Method Summary
Modifier and TypeMethodDescriptionName of the current binlog file being read by underlying binlog client.longCurrent binlog offset position being read by underlying binlog client.Current global transaction identifier (GTID) being read by underlying binlog client.booleanTracks if the connector is running using global transaction identifiers (GTID) to track current offset.longTracks the number of committed transactions.longTracks the number of times the underlying binlog client has been disconnected from the database.longTracks the number of transactions that contains events that had more entries than could be contained within the connectors binlog connector's 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 binlog client, generally due to the client being unable to properly deserialize the event.Methods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean
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 binlog file being read by underlying binlog client. -
getBinlogPosition
long getBinlogPosition()Current binlog offset position being read by underlying binlog client. -
getGtidSet
String getGtidSet()Current global transaction identifier (GTID) being read by underlying binlog client. -
getNumberOfSkippedEvents
long getNumberOfSkippedEvents()Tracks the number of events skipped by underlying binlog client, generally due to the client being unable to properly deserialize the event. -
getNumberOfDisconnects
long getNumberOfDisconnects()Tracks the number of times the underlying binlog client has been disconnected from the database. -
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-transaction event without a matching begin-transaction event. -
getNumberOfLargeTransactions
long getNumberOfLargeTransactions()Tracks the number of transactions that contains events that had more entries than could be contained within the connectors binlog connector's instance. -
getIsGtidModeEnabled
boolean getIsGtidModeEnabled()Tracks if the connector is running using global transaction identifiers (GTID) to track current offset.- Returns:
- true if using global transaction identifiers, false if not.
-