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

Method removeChild

consumer.go:241–246  ·  view source on GitHub ↗
(child *partitionConsumer)

Source from the content-addressed store, hash-verified

239}
240
241func (c *consumer) removeChild(child *partitionConsumer) {
242 c.lock.Lock()
243 defer c.lock.Unlock()
244
245 delete(c.children[child.topic], child.partition)
246}
247
248func (c *consumer) refBrokerConsumer(broker *Broker) *brokerConsumer {
249 c.lock.Lock()

Callers 1

dispatcherMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected