You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
Some of the functionality in sarama-cluster relies on sarama passing error messages to the PartitionConsumer.Errors() channel. However, by default sarama will simply write errors from Kafka to the logger (stdout).
To support sarama-cluster, you need to configure the sarama.Client with Consumer.Return.Errors:
Some of the functionality in sarama-cluster relies on sarama passing error messages to the PartitionConsumer.Errors() channel. However, by default sarama will simply write errors from Kafka to the logger (stdout).
To support sarama-cluster, you need to configure the sarama.Client with Consumer.Return.Errors:
It's only blind luck that I stumbled across this. This seems like a pretty big deal, but it's just briefly mentioned in one or two places in the sarama docs. See the description under https://godoc.org/github.com/Shopify/sarama#PartitionConsumer and the comments in https://godoc.org/github.com/Shopify/sarama#Config, under "Consumer".
The text was updated successfully, but these errors were encountered: