kafka-1982; change kafka.examples.Producer to use the new java producer; patched by Ashish Singh; reviewed by Gwen Shapira, Mayuresh Gharat and Jun Rao
@ -3,6 +3,7 @@ This directory contains examples of client code that uses kafka.
@@ -3,6 +3,7 @@ This directory contains examples of client code that uses kafka.
To run the demo:
1. Start Zookeeper and the Kafka server
2. For simple consumer demo, run bin/java-simple-consumer-demo.sh
3. For unlimited producer-consumer run, run bin/java-producer-consumer-demo.sh
2. For simple consumer demo, `run bin/java-simple-consumer-demo.sh`
3. For unlimited sync-producer-consumer run, `run bin/java-producer-consumer-demo.sh sync`
4. For unlimited async-producer-consumer run, `run bin/java-producer-consumer-demo.sh`
@ -20,7 +20,8 @@ public class KafkaConsumerProducerDemo implements KafkaProperties
@@ -20,7 +20,8 @@ public class KafkaConsumerProducerDemo implements KafkaProperties