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.
Other
463 stars 95 forks source link

Zookeeper ReadData function not working properly #68

Open kevinco26 opened 8 years ago

kevinco26 commented 8 years ago

I have been using the ReadData function to query the zookeeper for brokers, offsets, etc.

I am trying to query the zookeeper for a list of consumer groups by using the ReadData function and passing the path: "/consumers". For some reason I get returned null back.

I also have a nodejs app that connects to zookeeper and by doing the same thing (passing the same path to their function) I am able to query all the consumer groups.

I am doing something wrong in the c# version one?

The exact command is this: zk.ReadData("/consumers", true); where zk is my zookeeper client