Documentation
¶
Index ¶
- func GenerateTask(ctx context.Context, ...) (_ *historyservice.GenerateLastHistoryReplicationTasksResponse, retError error)
- func GetDLQTasks(ctx context.Context, shard historyi.ShardContext, ...) ([]*replicationspb.ReplicationTask, error)
- func GetStatus(ctx context.Context, request *historyservice.GetReplicationStatusRequest, ...) (_ *historyservice.ShardReplicationStatus, retError error)
- func GetTasks(ctx context.Context, shardContext historyi.ShardContext, ...) (*replicationspb.ReplicationMessages, error)
- func SyncWorkflowState(ctx context.Context, request *historyservice.SyncWorkflowStateRequest, ...) (_ *historyservice.SyncWorkflowStateResponse, retError error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTask ¶
func GenerateTask( ctx context.Context, request *historyservice.GenerateLastHistoryReplicationTasksRequest, shardContext historyi.ShardContext, workflowConsistencyChecker api.WorkflowConsistencyChecker, ) (_ *historyservice.GenerateLastHistoryReplicationTasksResponse, retError error)
func GetDLQTasks ¶
func GetDLQTasks( ctx context.Context, shard historyi.ShardContext, replicationAckMgr replication.AckManager, taskInfos []*replicationspb.ReplicationTaskInfo, ) ([]*replicationspb.ReplicationTask, error)
func GetStatus ¶
func GetStatus( ctx context.Context, request *historyservice.GetReplicationStatusRequest, shard historyi.ShardContext, replicationAckMgr replication.AckManager, ) (_ *historyservice.ShardReplicationStatus, retError error)
func GetTasks ¶
func GetTasks( ctx context.Context, shardContext historyi.ShardContext, replicationAckMgr replication.AckManager, pollingCluster string, ackMessageID int64, ackTimestamp time.Time, queryMessageID int64, ) (*replicationspb.ReplicationMessages, error)
func SyncWorkflowState ¶
func SyncWorkflowState( ctx context.Context, request *historyservice.SyncWorkflowStateRequest, replicationProgressCache replication.ProgressCache, syncStateRetriever replication.SyncStateRetriever, logger log.Logger, ) (_ *historyservice.SyncWorkflowStateResponse, retError error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.