[ 
https://issues.apache.org/jira/browse/KAFKA-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sriram Subramanian updated KAFKA-930:
-------------------------------------

    Attachment: KAFKA-930_2013-11-19_17:38:49.patch

> 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, KAFKA-930_2013-11-19_17:37:29.patch, 
> KAFKA-930_2013-11-19_17:38:49.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)

Reply via email to