1. You can put multiple directories, each on a separate volume, in log.dirs.
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 the
> 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 the
> 10 broker instances be a leader for 1 partition and a follower for 1 or
> more partitions based on the replication factor?