kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Question on Kafka partitions.
Date Thu, 12 Sep 2013 05:15:16 GMT
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.

Thanks,

Jun


On Wed, Sep 11, 2013 at 9:59 PM, Lu Xuechao <luxuec@gmail.com> 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?
>
> thanks,
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message