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

Function newBrokerSubscription

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

Source from the content-addressed store, hash-verified

413}
414
415func newBrokerSubscription(child *partitionConsumer) *brokerSubscription {
416 return &brokerSubscription{
417 child: child,
418 released: make(chan none),
419 }
420}
421
422func (s *brokerSubscription) release() {
423 s.releaseOnce.Do(func() {

Calls

no outgoing calls