View definition

(*PartitionConsumer).ExpectErrorsDrainedOnClose

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

Description

ExpectErrorsDrainedOnClose sets an expectation on the partition consumer that the errors channel will be fully drained when Close is called. If this expectation is not met, an error is reported to the error reporter.

ExpectErrorsDrainedOnClose is referenced in 1 repository

github.com/Shopify/sarama