Start Zookeeper
Start Kafka
Setup Another Broker
Make copy of server.properties
file in the kafka config folder
Set the broker id = 1
On line 32 uncomment line listeners = url:port and change port to 9093
On line 60 change the log directory
Create a Topic
Increase Partitions of a Topic
Describe an Topic
Delete a Topic
List Topics
Start Producer
/tmp/kafka-logs/
: Default Location of Kafka messages
Start Consumer
--from-beginning
: Will broadcast all the message from the producer including the ones before the consumer came online
Apache Kafka CLI commands cheat sheet | by Tim van Baarsen | Medium
Kafka Consumer Group CLI - javatpoint