Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Leader = -1 is coming when broker goes down


Copy link to this message
-
Re: Leader = -1 is coming when broker goes down
Thanks Neha.
On Tue, Oct 22, 2013 at 7:39 PM, Neha Narkhede <[EMAIL PROTECTED]>wrote:

> You have picked replication factor of 1, so when you bring down the only
> replica which can be the leader, it cannot be moved elsewhere. So we set it
> to -1.
>
> Thanks,
> Neha
> On Oct 22, 2013 12:21 AM, "Monika Garg" <[EMAIL PROTECTED]> wrote:
>
> > Hi
> >
> > I have made 2 nodes kafka cluster and created a topic with 3 partitions
> and
> > 1 replica.
> >
> > the partitions got distributed among 2 brokers.
> >
> > then one of my broker(broker1) goes down and due to this the
> > partition(partition2) for which broker1 was acting as a leader,now
> showing
> > me the leader value as -1 by the kafka-list-topic-command.
> >
> > Any clue for leader coming as -1.
> >
> > --
> > *Moniii*
> >
>

--
*Moniii*

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB