What is Kafka?

Create a Topic

kafka-topics --create --bootstrap-server kafka1:9092 \
             --replication-factor 3 \
             --partitions 3 \
             --topic sandbox.test

List Topics

kafka-topics --list --bootstrap-server kafka1:9092

At this point you must understand that the most important concept for you is the partition. You will be tempted to focus on the topic concept, but you should focus on the partition. This is due to the very nature of a distributed system.