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

Unable to listen to messages with cluster.Consumer #66

Closed
mslepak opened this issue Aug 12, 2016 · 3 comments
Closed

Unable to listen to messages with cluster.Consumer #66

mslepak opened this issue Aug 12, 2016 · 3 comments

Comments

@mslepak
Copy link

mslepak commented Aug 12, 2016

I must be doing something wrong. I can successfully publish and consume kafka 0.9 messages with plain sarama, i.e. when I am publishing to a specific partition and listening on that partition. However, when I attempt to use cluster.Consumer I can no longer consume any published messages. In this scenario, I am using sarama.SyncProducer, initialized with NewSyncProducer(). Consumer is initialized with cluster.NewConsumer(). Any help will be greatly appreciated.

@nomoonx
Copy link

nomoonx commented Aug 14, 2016

same here.

@dim
Copy link
Member

dim commented Aug 15, 2016

Looks like there is an incompatibility with the latest release, will review later today

@dim
Copy link
Member

dim commented Aug 15, 2016

As suggested, sarama 1.10.0 requires a protocol version to be set, released a new version

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

3 participants