package
1.18.0
Repository: https://github.com/segmentio/topicctl.git
Documentation: pkg.go.dev

# Functions

NewClusterUsePicker generates a new picker from the argument brokers and topics.
NewLowestIndexPicker returns a new LowestIndexPicker instance.
NewRandomizedPicker returns a new RandomizedPicker instance.

# Variables

ErrNoFeasibleChoice is returned by a picker when there is no feasible choice among the offered possibilities.

# Structs

ClusterUsePicker is a picker that considers broker use across the entire cluster to break ties.
LowestIndexPicker is a picker that uses broker index to break ties.
RandomizedPicker is a picker that uses broker index to break ties.

# Interfaces

Picker is an interface that picks a replica assignment based on arbitrary criteria (e.g., the current number of brokers in the given index).