microsoft / CSharpClient-for-Kafka

.Net implementation of the Apache Kafka Protocol that provides basic functionality through Producer/Consumer classes. The project also offers balanced consumer implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiples consumers for multiples zookeepers

juliansg1980 opened this issue · comments

Dears,

We have an application that create two consumers. Each consumer reads messages from diferents zookeepers servers.
The problem that occurs is that the second consumer does not read from it zookeeper server or else it read from the first consumer zookeepers servers.

We have create two consumer configuration object, two ZookeeperConsumerConnector and two streams.

Best regards

Have you tried disabling the shared zookeeper connection?

https://github.com/Microsoft/CSharpClient-for-Kafka/blob/master/src/KafkaNET.Library/Examples/ConsumeGroup/ConsumerGroupHelper.cs

ZookeeperConsumerConnector.UseSharedStaticZookeeperClient =
cgOptions.UseSharedStaticZookeeperClient;
On Thu, 9 Jun 2016 at 18:32, juliansg1980 notifications@github.com wrote:

Dears,

We have an application that create two consumers. Each consumer reads
messages from diferents zookeepers servers.
The problem that occurs is that the second consumer does not read from it
zookeeper server or else it read from the first consumer zookeepers servers.

We have create two consumer configuration object, two
ZookeeperConsumerConnector and two streams.

Best regards


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#65, or mute
the thread
https://github.com/notifications/unsubscribe/AALysCOUbhbT405uR4DqIS-o3mL-ZRDAks5qJ8-0gaJpZM4Ixva6
.

Cheers,
Ducas

Great!!!!!! It works!!

Thank you so much for your help

Cheers