Skip to content

nickmarrone/go_kafka_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Go Kafka Test

1. Set up Apache Kafka

Go to the [http://kafka.apache.org/documentation.html](Apache Kafka homepage) and follow the quick start guide to create a topic. I created a topic called 'multiply'

2. Start any number of consumers

./consumer --brokers=localhost:9092 --topic=multiply --op=*

./consumer --brokers=localhost:9092 --topic=multiply --op=-

./consumer --brokers=localhost:9092 --topic=multiply --op=/

./consumer --brokers=localhost:9092 --topic=multiply --op=+

3. Start a producer

./producer --brokers=localhost:9092 --topic=multiply

4. Start sending messages in the producer

x y: 3 4

=> 3 * 4 = 12

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages