Class SynchronizedPartitionManager

java.lang.Object
io.debezium.connector.spanner.task.SynchronizedPartitionManager
All Implemented Interfaces:
PartitionManager

public class SynchronizedPartitionManager extends Object implements PartitionManager
This class produces events depending on the type of record received from the change stream (i.e. data change, heartbeat, child partitions record), and sends them to TaskStateChangeEventHandler. This class sends the following events to TaskStateChangeEventHandler: (1) Sharing / owning new child partition tokens (2) setting the last commit timestamp for a partition (3) updating the change stream partition state to RUNNING / FINISHED