package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MakeCheckpointEvent creates an Event from a resolved timestamp.
MakeDeleteRangeEvent creates an Event from a DeleteRange.
MakeKVEvent creates an Event from a KV.
MakeKVEvent creates an Event from a KV.
MakeSSTableEvent creates an Event from a SSTable.
NewStreamStatusErr creates a new StreamStatusErr.
# Constants
CheckpointEvent indicates that GetResolvedSpans will be meaningful.
DeleteRangeEvent indicates that the DeleteRange field of an event holds a DeleteRange which needs to be ingested.
KVEvent indicates that the KV field of an event holds an updated KV which needs to be ingested.
SpanConfigEvent indicates that the SpanConfig field of an event holds an updated SpanConfigRecord.
SplitEvent indicates that the SplitKey field of an event holds a split key.
SSTableEvent indicates that the SSTable field of an event holds an updated SSTable which needs to be ingested.
# Variables
DumpFrontierEntries controls the frequency at which we persist the entries in the frontier to the `system.job_info` table.
JobCheckpointFrequency controls the frequency of frontier checkpoints into the jobs table.
ReplicateSpanConfigsEnabled controls whether we replicate span configurations from the source system tenant to the destination system tenant.
StreamReplicationConsumerHeartbeatFrequency controls frequency the stream replication destination cluster sends heartbeat to the source cluster to keep the stream alive.
StreamReplicationMinCheckpointFrequency controls the minimum frequency the stream replication source cluster sends checkpoints to destination cluster.
StreamReplicationStreamLivenessTrackFrequency controls frequency to check the liveness of a streaming replication producer job.
# Structs
CrossClusterTypeResolver is meant to be used to resolve types using type descriptors that originate from a different cluster.
StreamStatusErr is an error that encapsulate a replication stream's inactive status.
# Interfaces
Event describes an event emitted by a cluster to cluster stream.
# Type aliases
EventType enumerates all possible events emitted over a cluster stream.