title: zookeeper librdkafka example
body: <p>Hello All I am new to kafka and have to work on a project in C.</p>
  
  <p>I have installed the broker and zookeeper from kafka_2.10-0.8.2.0.tgz</p>
  
  <p><code>bin/kafka-server-start.sh config/server.properties</code></p>
  
  <p><code>bin/zookeeper-server-start.sh config/zookeeper.properties</code></p>
  
  <p>I have written a C program to be the producer and My consumer which works is from this command.</p>
  
  <pre><code> bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic vCPE_Events --from-beginning
  </code></pre>
  
  <p>Till here it is fine.</p>
  
  <p>Now I am trying to get those messages from the rdkafka_zookeeper_example provided by librdkafka library.</p>
  
  <p>However when I connect and run from the localhost the below command I dont see any messages on std out.</p>
  
  <pre><code>./rdkafka_zookeeper_example -C -t v_Events -p 1 -k localhost:2181 -A -X debug=all  -Xfetch.message.max.bytes=200 -X log_level=6 -d all
  </code></pre>
  
  <p>I have tried to Produce messages from the same example as well</p>
  
  <pre><code>./rdkafka_zookeeper_example -P -t v_Events -p 1 -k localhost:2181
  </code></pre>
  
  <p>Also note that the consumer.sh script does not pick the messages I send from the zookeeper_example as well.</p>
  
  <p>Can you please tell me what I am doing wrong?</p>