-Re: Question on Kafka partitions.
Lu Xuechao 2013-09-13, 05:52
Thanks Rao. I found both log.dir and log.dirs worked.
When I start up all my brokers, I see below log message on the console of
broker 1: What does that mean? Partition leader or not?
[2013-09-12 13:10:54,570] INFO New leader is 1
On Thu, Sep 12, 2013 at 1:15 PM, Jun Rao <[EMAIL PROTECTED]> wrote:
> 1. You can put multiple directories, each on a separate volume, in
> 2. Yes, our replica assignment logic will try to spread the partitions and
> the leaders evenly among the brokers.
> On Wed, Sep 11, 2013 at 9:59 PM, Lu Xuechao <[EMAIL PROTECTED]> wrote:
> > Hi Team,
> > I have some questions regarding Kafka partitions:
> > 1. Based on my understanding, the partitions of the same broker have
> > contention on disk IO. Say If I have 10 hard drives, can I specify all
> > partitions spread evenly on those drives?
> > 2. If I configure default.replication.factor=2, then for each partition
> > there will be one leader and one follower, right? Say if I have 10 nodes
> > with a broker on each node, I want to partition 10 way then can each of
> > 10 broker instances be a leader for 1 partition and a follower for 1 or
> > more partitions based on the replication factor?
> > thanks,