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