Description

NewConsumer returns a new mock Consumer instance. The t argument should be the *testing.T instance of your test method. An error will be written to it if an expectation is violated. The config argument is currently unused and can be set to nil.

NewConsumer is referenced in 2 repositories

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