Class TaskScalerMonitorImpl

java.lang.Object
io.debezium.connector.spanner.task.scaler.TaskScalerMonitorImpl
All Implemented Interfaces:
TaskScalerMonitor

public class TaskScalerMonitorImpl extends Object implements TaskScalerMonitor
This class returns the initial task count upon startup. On each "UPDATE_EPOCH" Sync Event message received, it checks whether or not we need to scale up / down the number of tasks.