Asking again to find out if there is a setting in KAFKA which can handle this case automatically.
On Sat, Feb 3, 2018 at 12:45 PM, Devendar Rao <devendar.gu...@gmail.com> wrote: > Hi, > > I don't see partition rebalancing happening when both leader and replica > nodes are down for a given partition. The partition's leader is set to -1; > but never gets fixed. I manually assign the partition using > "kafka-preferred-replica-election.sh". Does kafka not balance the > partitions automatically for this case? > > I've this setting; I'm using kafka-0.10.2 version > and auto.leader.rebalance.enable is set to true > > Error: > Leader for partition *my-topic* unavailable for fetching offset, wait for > metadata refresh > > Thanks >