Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Consumer Partitions Mode is not working #282

Closed
dhbarman opened this issue Dec 22, 2018 · 1 comment
Closed

Consumer Partitions Mode is not working #282

dhbarman opened this issue Dec 22, 2018 · 1 comment

Comments

@dhbarman
Copy link

I created a topic with 3 partitions. Following this example but it is not working.
That is, case part, ok := <-consumer.Partitions(): does not return any value.

https://github.com/bsm/sarama-cluster/blob/master/examples_test.go

@dim
Copy link
Member

dim commented Jan 2, 2019

Hmm, it's most likely not receiving any or not rebalancing correctly. You could enable returning notifications and errors in the configuration and log the output. More importantly, sarama-cluster is now deprecated, since my sarama PR has been merged - IBM/sarama#1099

@dim dim closed this as completed Jan 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants