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 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:
      getNumberOfCommittedTransactions in interface StreamingMetricsMXBean
    • 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.