Class MariaDbCdcSource

java.lang.Object
org.gridgain.internal.cdc.source.mariadb.MariaDbCdcSource
All Implemented Interfaces:
AutoCloseable, org.gridgain.internal.cdc.api.source.CdcSource

public class MariaDbCdcSource extends Object implements org.gridgain.internal.cdc.api.source.CdcSource
Experimental CDC source for MariaDB row-based binary logs.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MariaDbCdcSource(org.gridgain.internal.cdc.api.source.SourceDefinition definition)
    Creates a MariaDB source for the supplied definition.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) long
     
    void
     
    (package private) static com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer
     
    (package private) static boolean
     
    (package private) static boolean
     
    void
    start(org.gridgain.internal.cdc.api.source.SourceTableDefinition table, byte @Nullable [] lastWatermark, org.gridgain.internal.cdc.api.replication.CdcReplicationMode mode, Flow.Subscriber<org.gridgain.internal.cdc.api.source.WatermarkedBatch> subscriber)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gridgain.internal.cdc.api.source.CdcSource

    describeTable
  • Constructor Details

    • MariaDbCdcSource

      public MariaDbCdcSource(org.gridgain.internal.cdc.api.source.SourceDefinition definition)
      Creates a MariaDB source for the supplied definition.
  • Method Details

    • start

      public void start(org.gridgain.internal.cdc.api.source.SourceTableDefinition table, byte @Nullable [] lastWatermark, org.gridgain.internal.cdc.api.replication.CdcReplicationMode mode, Flow.Subscriber<org.gridgain.internal.cdc.api.source.WatermarkedBatch> subscriber)
      Specified by:
      start in interface org.gridgain.internal.cdc.api.source.CdcSource
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • eventDeserializer

      static com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer eventDeserializer()
    • allocateServerId

      long allocateServerId()
    • isPurged

      static boolean isPurged(IOException error)
    • isPermanent

      static boolean isPermanent(IOException error)