Skip to content

dubstepenjoyer/several_kafka_brokers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

several kafka brokers

Project with 3 kafka brokers in docker containers

Most popular kafka-administration CLI commands

Before to start you need to download kafka sh-files (check Apache Kafka official website)

Check topics in cluster:

./bin/kafka-topics.sh --bootstrap-server {ip}:{port} --list

Topic Details:

./bin/kafka-topics.sh --bootstrap-server {ip}:{port} --describe --topic {topic_name}

Create topic:

./bin/kafka-topics.sh --create --topic {topic_name} --bootstrap-server {ip}:{port}

Delete topic:

./bin/kafka-topics.sh --delete --topic {topic_name} --bootstrap-server {ip}:{port}

Write in topic:

./bin/kafka-console-producer.sh --topic {topic_name} --bootstrap-server {ip}:{port}

Read from topic:

./bin/kafka-console-consumer.sh --topic {topic_name} --bootstrap-server {ip}:{port}

About

Several Kafka brokers on one host machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published