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
ConstructorsConstructorDescriptionMariaDbCdcSource(org.gridgain.internal.cdc.api.source.SourceDefinition definition) Creates a MariaDB source for the supplied definition. -
Method Summary
Modifier and TypeMethodDescription(package private) longvoidclose()(package private) static com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer(package private) static booleanisPermanent(IOException error) (package private) static booleanisPurged(IOException error) voidstart(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, waitMethods 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:
startin interfaceorg.gridgain.internal.cdc.api.source.CdcSource
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
eventDeserializer
static com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer eventDeserializer() -
allocateServerId
long allocateServerId() -
isPurged
-
isPermanent
-