Class SourceInfoFactory
java.lang.Object
io.debezium.connector.spanner.context.source.SourceInfoFactory
Creates
SourceInfo from the input DataChangeEvent-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpannerConnectorConfigprivate final LowWatermarkProvider -
Constructor Summary
ConstructorsConstructorDescriptionSourceInfoFactory(SpannerConnectorConfig connectorConfig, LowWatermarkProvider lowWatermarkProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetSourceInfo(int modNumber, DataChangeEvent dataChangeEvent) getSourceInfoForLowWatermarkStamp(TableId tableId)
-
Field Details
-
connectorConfig
-
lowWatermarkProvider
-
-
Constructor Details
-
SourceInfoFactory
public SourceInfoFactory(SpannerConnectorConfig connectorConfig, LowWatermarkProvider lowWatermarkProvider)
-
-
Method Details
-
getSourceInfo
public SourceInfo getSourceInfo(int modNumber, DataChangeEvent dataChangeEvent) throws InterruptedException - Throws:
InterruptedException
-
getSourceInfoForLowWatermarkStamp
- Throws:
InterruptedException
-