In this exercise you will experiment with partition leader election and consumer fail-over.
Duration: 30 mins
TIP Use bit.ly/kafka-exercise-admin-05 to access this exercise.
./bin/kafka-topics.sh --create --bootstrap-server :9092 --topic t1 --partitions 1 --replication-factor 2
./bin/kafka-topics.sh --describe --bootstrap-server :9092 --topic t1
At this point you should have a topic with replication factor of 2, one producer and one consumer. You made sure that communication between the clients is established (the clients can exchange messages).