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

Zookeeper ReadData function not working properly

kevinco26 opened this issue · comments

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