Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
src/main/java/kafka/examples
README

README

This directory contains examples of client code that uses kafka.

The default target for ant is kafka.examples.KafkaConsumerProducerDemo which sends and receives 
messages from Kafka server.

In order to run demo:
   1. Start Zookeeper and the Kafka server
   2. ./sbt from top-level kafka directory
   3. Switch to the kafka java examples project -> project Kafka Java Examples
   4. execute run -> run
   5. For unlimited producer-consumer run, select option 1
      For simple consumer demo, select option 2
Something went wrong with that request. Please try again.