Thanks to visit codestin.com
Credit goes to github.com

Skip to content

uurl/kafkaexamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Examples

Kafka Examples

Download Confluent Control Center from confluent-7.0.0

Unzip confluent-7.0.0.zip

export CONFLUENT_HOME=<path_to>/confluent-7.0.0

./bin/confluent local services start

Go to http://localhost:9021/clusters

Create 3 topics:

./bin/kafka-topics --create --topic persons --bootstrap-server localhost:9092 --replication-factor 1 --partitions 4

./bin/kafka-topics --create --topic ages --bootstrap-server localhost:9092 --replication-factor 1 --partitions 4

./bin/kafka-console-consumer --bootstrap-server localhost:9092 --topic persons --property print.key=true

About

Kafka Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published