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

Method returnErrors

async_producer.go:1707–1711  ·  view source on GitHub ↗
(batch []*ProducerMessage, err error)

Source from the content-addressed store, hash-verified

1705}
1706
1707func (p *asyncProducer) returnErrors(batch []*ProducerMessage, err error) {
1708 for _, msg := range batch {
1709 p.returnError(msg, err)
1710 }
1711}
1712
1713func (p *asyncProducer) returnSuccesses(batch []*ProducerMessage) {
1714 for _, msg := range batch {

Callers 4

retryBatchMethod · 0.95
flushRetryBuffersMethod · 0.80
handleSuccessMethod · 0.80
handleErrorMethod · 0.80

Calls 1

returnErrorMethod · 0.95

Tested by

no test coverage detected