Class ChildPartitionOperation
java.lang.Object
io.debezium.connector.spanner.task.operation.ChildPartitionOperation
- All Implemented Interfaces:
Operation
This operation finds out whether new partition will be processing
by the current task or shared with other
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoOperation(TaskSyncContext taskSyncContext) private booleanexistPartition(TaskSyncContext taskSyncContext, String token) private StringfindCandidateToSharePartition(TaskSyncContext taskSyncContext) booleanprivate TaskSyncContextshare(TaskSyncContext taskSyncContext)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
newPartitions
-
-
Constructor Details
-
ChildPartitionOperation
-
-
Method Details
-
existPartition
-
isRequiredPublishSyncEvent
public boolean isRequiredPublishSyncEvent()- Specified by:
isRequiredPublishSyncEventin interfaceOperation
-
doOperation
- Specified by:
doOperationin interfaceOperation