Description

Client is a generic Kafka client. It manages connections to one or more Kafka brokers. You MUST call Close() on a client to avoid leaks, it will not be garbage-collected automatically when it passes out of scope. It is safe to share a client amongst many users, however Kafka will process requests from a single client strictly in serial, so it is generally more efficient to use the default one client per producer/consumer.

Client is referenced in 29 repositories

github.com/Shopify/sarama github.com/funkygao/gafka gopkg.in/bsm/sarama-cluster.v2

...