Re: Getting LeaderNotAvailableException in console producer after increasing partitions from 4 to 16.
As Guozhang said, your producer might give up sooner than the leader
election completes for the new topic. To confirm if your producer gave up
too soon, you can run the state change log merge tool for this topic and
see when the leader election finished for all partitions
./bin/kafka-run-class.sh kafka.tools.StateChangeLogMerger --logs <location
to all state change logs> --topic <topic>
Note that this tool requires you to give the state change logs for all
brokers in the cluster.
On Tue, Aug 27, 2013 at 9:45 AM, Guozhang Wang <[EMAIL PROTECTED]> wrote: