View definition

(*AsyncProducer).ExpectInputAndFail

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

Description

ExpectInputAndFail sets an expectation on the mock producer that a message will be provided on the input channel. The mock producer will handle the message as if it failed to produce successfully. This means it will make a ProducerError available on the Errors channel.

ExpectInputAndFail is referenced in 1 repository

github.com/Shopify/sarama