[ https://issues.apache.org/jira/browse/KAFKA-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911396#comment-13911396 ]
Sriram Subramanian commented on KAFKA-930: ------------------------------------------ final changes pushed to 0.8.1 and trunk > Integrate preferred replica election logic into kafka > ----------------------------------------------------- > > Key: KAFKA-930 > URL: https://issues.apache.org/jira/browse/KAFKA-930 > Project: Kafka > Issue Type: Bug > Reporter: Sriram Subramanian > Assignee: Sriram Subramanian > Fix For: 0.8.1 > > Attachments: KAFKA-930.patch, KAFKA-930_2013-11-19_17:37:29.patch, > KAFKA-930_2013-11-19_17:38:49.patch, KAFKA-930_2013-11-21_09:42:11.patch, > KAFKA-930_2013-12-09_22:51:57.patch, KAFKA-930_2013-12-20_11:13:01.patch, > KAFKA-930_2013-12-20_11:22:36.patch, KAFKA-930_2014-01-27_13:28:51.patch, > KAFKA-930_2014-02-24_01:59:46.patch > > > It seems useful to integrate the preferred replica election logic into kafka > controller. A simple way to implement this would be to have a background > thread that periodically finds the topic partitions that are not assigned to > the preferred broker and initiate the move. We could come up with some > heuristics to initiate the move only if the imbalance over a specific > threshold in order to avoid rebalancing too aggressively. Making the software > do this reduces operational cost. -- This message was sent by Atlassian JIRA (v6.1.5#6160)