[ 
https://issues.apache.org/jira/browse/KAFKA-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710474#comment-14710474
 ] 

chenshangan commented on KAFKA-2106:
------------------------------------

There are two things here:
1) about 3 replica restriction
I think 3-replica is  a conventional way adopted. I've change the restriction 
to less or equal than 3 but forget to update the patch. If it's not necessary, 
I can remove this restriction. It does not affect the balancing algo.

2) every partition has the same number of replicas
I only make sure every partition of the same topic has the same number of 
replicas not all topics. I think it's reasonable. Maybe you misunderstand the 
logic ?
 

> Partition balance tool between borkers
> --------------------------------------
>
>                 Key: KAFKA-2106
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2106
>             Project: Kafka
>          Issue Type: New Feature
>          Components: admin
>    Affects Versions: 0.8.3
>            Reporter: chenshangan
>         Attachments: KAFKA-2106.3, KAFKA-2106.patch, KAFKA-2106.patch.2
>
>
> The default partition assignment algorithm can work well in a static kafka 
> cluster(number of brokers seldom change). Actually, in production env, number 
> of brokers is always increasing according to the business data. When new 
> brokers added to the cluster, it's better to provide a tool that can help to 
> move existing data to new brokers. Currently, users need to choose topic or 
> partitions manually and use the Reassign Partitions Tool 
> (kafka-reassign-partitions.sh) to achieve the goal. It's a time-consuming 
> task when there's a lot of topics in the cluster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to