MCPcopy
hub / github.com/IBM/sarama / ElectLeaders

Method ElectLeaders

admin.go:122–122  ·  view source on GitHub ↗

ElectLeaders allows to trigger the election of preferred leaders for a set of partitions.

(ElectionType, map[string][]int32)

Source from the content-addressed store, hash-verified

120
121 // ElectLeaders allows to trigger the election of preferred leaders for a set of partitions.
122 ElectLeaders(ElectionType, map[string][]int32) (map[string]map[int32]*PartitionResult, error)
123
124 // List the consumer groups available in the cluster.
125 ListConsumerGroups() (map[string]string, error)

Callers 3

TestElectLeadersFunction · 0.95
ElectLeadersMethod · 0.65

Implementers 1

clusterAdminadmin.go

Calls

no outgoing calls

Tested by 2

TestElectLeadersFunction · 0.76