Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9341597
README
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
744 B
Subscribers
None
README
View Options
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 from SBT:
1. Start Zookeeper and the Kafka server
2. ./sbt from top-level kafka directory
3. Switch to the kafka java examples project -> project kafka-examples
4. execute run -> run
5. For simple consumer demo, select option 1
For unlimited producer-consumer run, select option 2
To run the demo using scripts:
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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 12:10 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3265750
Attached To
rPKAFKA Kafka Debian packaging
Event Timeline
Log In to Comment