replication

package
v1.24.0-m2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTask

func GenerateTask(
	ctx context.Context,
	request *historyservice.GenerateLastHistoryReplicationTasksRequest,
	shard shard.Context,
	workflowConsistencyChecker api.WorkflowConsistencyChecker,
) (_ *historyservice.GenerateLastHistoryReplicationTasksResponse, retError error)

func GetDLQTasks

func GetDLQTasks(
	ctx context.Context,
	shard shard.Context,
	replicationAckMgr replication.AckManager,
	taskInfos []*replicationspb.ReplicationTaskInfo,
) ([]*replicationspb.ReplicationTask, error)

func GetStatus

func GetStatus(
	ctx context.Context,
	request *historyservice.GetReplicationStatusRequest,
	shard shard.Context,
	replicationAckMgr replication.AckManager,
) (_ *historyservice.ShardReplicationStatus, retError error)

func GetTasks

func GetTasks(
	ctx context.Context,
	shardContext shard.Context,
	replicationAckMgr replication.AckManager,
	pollingCluster string,
	ackMessageID int64,
	ackTimestamp time.Time,
	queryMessageID int64,
) (*replicationspb.ReplicationMessages, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL