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

Method AddBroker

metadata_response.go:404–406  ·  view source on GitHub ↗

testing API

(addr string, id int32)

Source from the content-addressed store, hash-verified

402// testing API
403
404func (r *MetadataResponse) AddBroker(addr string, id int32) {
405 r.Brokers = append(r.Brokers, &Broker{id: id, addr: addr})
406}
407
408func (r *MetadataResponse) AddTopic(topic string, err KError) *TopicMetadata {
409 var tmatch *TopicMetadata

Calls

no outgoing calls