Re: How Kafka Distribute partitions across the cluster

2015-10-27 Thread nitin sharma
Thanks Grant, This is really helpful.. Regards, Nitin Kumar Sharma. On Tue, Oct 27, 2015 at 1:16 PM, Grant Henke wrote: > Hi Nitin, > > Partitions and replicas are assigned in a round robin fashion. You can read > more about it in the docs under "4.7 Replication >

Re: How Kafka Distribute partitions across the cluster

2015-10-27 Thread Grant Henke
Hi Nitin, Partitions and replicas are assigned in a round robin fashion. You can read more about it in the docs under "4.7 Replication " look for the header for "Replica Management". You can view the implementation here: https://github.com/a

How Kafka Distribute partitions across the cluster

2015-10-27 Thread nitin sharma
Hi All, I would like to know what kind of strategy Kafka adopts in splitting partitions of a topic to across the cluster. Ex: if i have 10 broker in a cluster. 1 topic with 5 partition and each with replication-factor of 2. then how would Kafka will assign the partitions ( 5*2 =10) across the clu