Documentation ¶
Index ¶
Constants ¶
View Source
const ( CheckpointTypeAuto = "auto" CheckpointAutoResetTypeLatest = "latest" )
View Source
const (
KubernetesLeaderElectionType = "kubernetes"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type CheckpointMetric ¶
type CheckpointMetric struct { OffsetWrite ewma.MovingAverage OffsetWriteLatency ewma.MovingAverage }
type LeaderElection ¶
type LeaderElection interface { Start() Stop() }
func NewLeaderElection ¶
func NewLeaderElection( config *config.Dcp, serviceDiscovery servicediscovery.ServiceDiscovery, bus helpers.Bus, ) LeaderElection
type Metric ¶
type Metric struct { ProcessLatency ewma.MovingAverage DcpLatency int64 Rebalance int }
type Stream ¶
type VBucketDiscovery ¶
type VBucketDiscovery interface { Get() []uint16 Close() GetMetric() *VBucketDiscoveryMetric }
func NewVBucketDiscovery ¶
Click to show internal directories.
Click to hide internal directories.