Class SpannerSnapshotChangeEventSourceMetricsStub

java.lang.Object
io.debezium.connector.spanner.metrics.jmx.SpannerSnapshotChangeEventSourceMetricsStub
All Implemented Interfaces:
io.debezium.pipeline.metrics.ChangeEventSourceMetrics<SpannerPartition>, io.debezium.pipeline.metrics.SnapshotChangeEventSourceMetrics<SpannerPartition>, io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>, io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>

public class SpannerSnapshotChangeEventSourceMetricsStub extends Object implements io.debezium.pipeline.metrics.SnapshotChangeEventSourceMetrics<SpannerPartition>
Metrics related to the snapshot phase of the Spanner connector. Not implemented yet.
  • Constructor Details

    • SpannerSnapshotChangeEventSourceMetricsStub

      public SpannerSnapshotChangeEventSourceMetricsStub()
  • Method Details

    • register

      public void register()
      Specified by:
      register in interface io.debezium.pipeline.metrics.ChangeEventSourceMetrics<SpannerPartition>
    • unregister

      public void unregister()
      Specified by:
      unregister in interface io.debezium.pipeline.metrics.ChangeEventSourceMetrics<SpannerPartition>
    • onEvent

      public void onEvent(SpannerPartition partition, io.debezium.spi.schema.DataCollectionId source, io.debezium.pipeline.spi.OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value, io.debezium.data.Envelope.Operation operation)
      Specified by:
      onEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • onFilteredEvent

      public void onFilteredEvent(SpannerPartition partition, String event)
      Specified by:
      onFilteredEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • onFilteredEvent

      public void onFilteredEvent(SpannerPartition partition, String event, io.debezium.data.Envelope.Operation operation)
      Specified by:
      onFilteredEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • onErroneousEvent

      public void onErroneousEvent(SpannerPartition partition, String event)
      Specified by:
      onErroneousEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • onErroneousEvent

      public void onErroneousEvent(SpannerPartition partition, String event, io.debezium.data.Envelope.Operation operation)
      Specified by:
      onErroneousEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • onConnectorEvent

      public void onConnectorEvent(SpannerPartition partition, io.debezium.pipeline.ConnectorEvent event)
      Specified by:
      onConnectorEvent in interface io.debezium.pipeline.source.spi.DataChangeEventListener<SpannerPartition>
    • snapshotStarted

      public void snapshotStarted(SpannerPartition partition)
      Specified by:
      snapshotStarted in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • snapshotPaused

      public void snapshotPaused(SpannerPartition partition)
      Specified by:
      snapshotPaused in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • snapshotResumed

      public void snapshotResumed(SpannerPartition partition)
      Specified by:
      snapshotResumed in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • monitoredDataCollectionsDetermined

      public void monitoredDataCollectionsDetermined(SpannerPartition partition, Iterable<? extends io.debezium.spi.schema.DataCollectionId> dataCollectionIds)
      Specified by:
      monitoredDataCollectionsDetermined in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • snapshotCompleted

      public void snapshotCompleted(SpannerPartition partition)
      Specified by:
      snapshotCompleted in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • snapshotAborted

      public void snapshotAborted(SpannerPartition partition)
      Specified by:
      snapshotAborted in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • dataCollectionSnapshotCompleted

      public void dataCollectionSnapshotCompleted(SpannerPartition partition, io.debezium.spi.schema.DataCollectionId dataCollectionId, long numRows)
      Specified by:
      dataCollectionSnapshotCompleted in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • rowsScanned

      public void rowsScanned(SpannerPartition partition, io.debezium.relational.TableId tableId, long numRows)
      Specified by:
      rowsScanned in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • currentChunk

      public void currentChunk(SpannerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo)
      Specified by:
      currentChunk in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>
    • currentChunk

      public void currentChunk(SpannerPartition partition, String chunkId, Object[] chunkFrom, Object[] chunkTo, Object[] tableTo)
      Specified by:
      currentChunk in interface io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition>