Package io.debezium.connector.spanner
Class SpannerChangeEventSourceFactory
java.lang.Object
io.debezium.connector.spanner.SpannerChangeEventSourceFactory
- All Implemented Interfaces:
io.debezium.pipeline.source.spi.ChangeEventSourceFactory<SpannerPartition,SpannerOffsetContext>
public class SpannerChangeEventSourceFactory
extends Object
implements io.debezium.pipeline.source.spi.ChangeEventSourceFactory<SpannerPartition,SpannerOffsetContext>
Creates SpannerStreamingChangeEventSource
and SnapshotChangeEventSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChangeStreamprivate final SpannerConnectorConfigprivate final SpannerEventDispatcherprivate final io.debezium.pipeline.ErrorHandlerprivate final PartitionManagerprivate final SchemaRegistryprivate final SourceInfoFactoryprivate final SpannerMeter -
Constructor Summary
ConstructorsConstructorDescriptionSpannerChangeEventSourceFactory(SpannerConnectorConfig connectorConfig, SpannerEventDispatcher dispatcher, io.debezium.pipeline.ErrorHandler errorHandler, SchemaRegistry schemaRegistry, SpannerMeter spannerMeter, ChangeStream changeStream, SourceInfoFactory sourceInfoFactory, PartitionManager partitionManager) -
Method Summary
Modifier and TypeMethodDescriptionio.debezium.pipeline.source.spi.SnapshotChangeEventSource<SpannerPartition,SpannerOffsetContext> getSnapshotChangeEventSource(io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition> snapshotProgressListener, io.debezium.pipeline.notification.NotificationService<SpannerPartition, SpannerOffsetContext> notificationService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.pipeline.source.spi.ChangeEventSourceFactory
getIncrementalSnapshotChangeEventSource
-
Field Details
-
connectorConfig
-
dispatcher
-
errorHandler
private final io.debezium.pipeline.ErrorHandler errorHandler -
schemaRegistry
-
spannerMeter
-
changeStream
-
sourceInfoFactory
-
partitionManager
-
-
Constructor Details
-
SpannerChangeEventSourceFactory
public SpannerChangeEventSourceFactory(SpannerConnectorConfig connectorConfig, SpannerEventDispatcher dispatcher, io.debezium.pipeline.ErrorHandler errorHandler, SchemaRegistry schemaRegistry, SpannerMeter spannerMeter, ChangeStream changeStream, SourceInfoFactory sourceInfoFactory, PartitionManager partitionManager)
-
-
Method Details
-
getSnapshotChangeEventSource
public io.debezium.pipeline.source.spi.SnapshotChangeEventSource<SpannerPartition,SpannerOffsetContext> getSnapshotChangeEventSource(io.debezium.pipeline.source.spi.SnapshotProgressListener<SpannerPartition> snapshotProgressListener, io.debezium.pipeline.notification.NotificationService<SpannerPartition, SpannerOffsetContext> notificationService) - Specified by:
getSnapshotChangeEventSourcein interfaceio.debezium.pipeline.source.spi.ChangeEventSourceFactory<SpannerPartition,SpannerOffsetContext>
-
getStreamingChangeEventSource
- Specified by:
getStreamingChangeEventSourcein interfaceio.debezium.pipeline.source.spi.ChangeEventSourceFactory<SpannerPartition,SpannerOffsetContext>
-