Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyncStatusToCatalog ¶
Types ¶
type CDCFlowWorkflowState ¶
type CDCFlowWorkflowState struct {
// flow config update request, set to nil after processed
FlowConfigUpdate *protos.CDCFlowConfigUpdate
// options passed to all SyncFlows
SyncFlowOptions *protos.SyncFlowOptions
// for becoming DropFlow
DropFlowInput *protos.DropFlowInput
// used for computing backoff timeout
LastError time.Time
ErrorCount int32
// Current signalled state of the peer flow.
ActiveSignal model.CDCFlowSignal
CurrentFlowStatus protos.FlowStatus
// Initial load settings
SnapshotNumRowsPerPartition uint32
SnapshotNumPartitionsOverride uint32
SnapshotMaxParallelWorkers uint32
SnapshotNumTablesInParallel uint32
}
func NewCDCFlowWorkflowState ¶
func NewCDCFlowWorkflowState(ctx workflow.Context, logger log.Logger, cfg *protos.FlowConnectionConfigsCore) *CDCFlowWorkflowState
returns a new empty PeerFlowState
func (*CDCFlowWorkflowState) UpdateStatus ¶
func (s *CDCFlowWorkflowState) UpdateStatus(ctx workflow.Context, logger log.Logger, newStatus protos.FlowStatus)
Click to show internal directories.
Click to hide internal directories.