View definition

(*PartitionConsumer).YieldError

Defined in github.com/Shopify/sarama/mocks/consumer.go

Description

YieldError will yield an error on the Errors channel of this partition consumer when it is consumed. By default, the mock consumer will not verify whether this error was consumed from the Errors channel, because there are legitimate reasons for this not to happen. You can call ExpectErrorsDrainedOnClose so it will verify that the channel is empty on close.

YieldError is referenced in 1 repository

github.com/Shopify/sarama