Package io.debezium.connector.spanner.task
package io.debezium.connector.spanner.task
-
ClassesClassDescriptionWhen merge of partitions happens, it is possible that several tasks will process the same child partition.A Wrapper class for epoch offsetUtility for logging objects in JSON formatCreates threads form watermark calculationsCalculates watermark based on offsets of all partitionsA wrapper class for watermark dataCreates
PartitionfromPartitionState, retrieves offset for itRetrieves offsets from Kafka Connect and publishes appropriate metricsProvides a logic for processing Rebalance Events.Provides a logic for processing Sync Events of different types: New Epoch, Rebalance Answers, Regular eventsUtility to merge incoming task states with the current task stateThis class coordinates between the connector producers and consumers: The RebalancingEventListener producer produces events that are consumed by the RebalanceHandler.This class produces events depending on the type of record received from the change stream (i.e.This class processes all types of TaskStateChangeEvents (i.e.Owns queue ofTaskStateChangeEventelements, polls them in the separate thread and sends them toTaskStateChangeEventHandlerfor further processingUtility for grouping and filtering tasks, which survived and not after the Rebalance EventRepresents state of the current task and collected incremental states of other tasks taken from the Sync TopicHolds the current state of the connector's task.Utility to generate unique connector task identifiers