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

Method BrokerID

mockbroker.go:120–122  ·  mockbroker.go::MockBroker.BrokerID

BrokerID returns broker ID assigned to the broker.

()

Source from the content-addressed store, hash-verified

118
119// BrokerID returns broker ID assigned to the broker.
120func (b *MockBroker) BrokerID() int32 {
121 return b.brokerID
122}
123
124// History returns a slice of RequestResponse pairs in the order they were
125// processed by the broker. Note that in case of multiple connections to the

Calls

no outgoing calls