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

Method Brokers

client.go:39–39  ·  view source on GitHub ↗

Brokers returns the current set of active brokers as retrieved from cluster metadata.

()

Source from the content-addressed store, hash-verified

37
38 // Brokers returns the current set of active brokers as retrieved from cluster metadata.
39 Brokers() []*Broker
40
41 // Broker returns the active Broker if available for the broker ID.
42 Broker(brokerID int32) (*Broker, error)

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls