View definition

func NewConsumerFromClient

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

Description

NewConsumerFromClient creates a new consumer using the given client. It is still necessary to call Close() on the underlying client when shutting down this consumer.