View definition

(*PartitionConsumer).YieldMessage

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

Description

YieldMessage will yield a messages Messages channel of this partition consumer when it is consumed. By default, the mock consumer will not verify whether this message was consumed from the Messages channel, because there are legitimate reasons forthis not to happen. ou can call ExpectMessagesDrainedOnClose so it will verify that the channel is empty on close.

YieldMessage is referenced in 2 repositories

github.com/Shopify/sarama github.com/bradhe/epee