You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2014/04/07 00:07:14 UTC

[jira] [Comment Edited] (KAFKA-1294) Enable leadership balancing by default

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

Jun Rao edited comment on KAFKA-1294 at 4/6/14 10:05 PM:
---------------------------------------------------------

This is blocked by KAFKA-1305.


was (Author: junrao):
The other reason is that it currently doesn't work with replication factor 1 (which is the default) since we can never move the leader to another broker. We could fix the logic in the controller though. If there is only one assigned replica, the controller could return successful immediately on a shutdown broker request.

> Enable leadership balancing by default
> --------------------------------------
>
>                 Key: KAFKA-1294
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1294
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Jay Kreps
>
> We should change 
>   auto.leader.rebalance.enable=true
> The current state where any time nodes are restarted the traffic gets all lopsided is very unintuitive.
> It sounds like the only reason we haven't done this is because we aren't sure it works. We should just try it in an integration env and the system tests and then make it the default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)