You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sriram Subramanian (JIRA)" <ji...@apache.org> on 2013/11/20 02:20:17 UTC

[jira] [Commented] (KAFKA-930) Integrate preferred replica election logic into kafka

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

Sriram Subramanian commented on KAFKA-930:
------------------------------------------

Created reviewboard https://reviews.apache.org/r/15711/
 against branch origin/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.9
>
>         Attachments: KAFKA-930.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#6144)