After the rebalancing operation, each partition must have selected an owner. One way to verify that is by reading the data from ZooKeeper at /consumers/[consumer_group]/owners/[topic]/[broker_id-partition_id]
and finding an entry for each of /brokers/topics/[topic]/[broker-id]
. This tool will make your life easier to make sure there is an owner for every partition.
You have a number of nodes in your Kafka node up and running. You also have a consumer group created and running.
From the Kafka folder, run the following command:
$ bin/kafka-run-class.sh kafka.tools.VerifyConsumerRebalance --zookeeper.connect localhost:2181 --group mytestconsumer