You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ben Stopford (JIRA)" <ji...@apache.org> on 2016/09/26 17:05:20 UTC

[jira] [Work started] (KAFKA-4216) Replication Quotas: Control Leader & Follower Throttled Replicas Separately

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

Work on KAFKA-4216 started by Ben Stopford.
-------------------------------------------
> Replication Quotas: Control Leader & Follower Throttled Replicas Separately
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-4216
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4216
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.1.0
>            Reporter: Ben Stopford
>            Assignee: Ben Stopford
>
> The current algorithm in kafka-reassign-partitions applies a throttle to all moving replicas, be they leader-side or follower-side. 
> A preferable solution would be to change the throttled replica list to specify whether the throttle applies to leader or follower. That way we can ensure that the regular replication will not be throttled.  
> To do this we should change the way the throttled replica list is specified so it is spread over two separate properties. One that corresponds to the leader-side throttle, and the other that corresponds to the follower-side throttle.
> quota.leader.replication.throttled.replicas = [partId]:[replica],[partId]:[replica],[partId]:[replica] 
> quota.follower.replication.throttled.replicas = [partId]:[replica],[partId]:[replica],[partId]:[replica] 
> Then, when applying the throttle, the leader quota can be applied to all current replicas, and the follower quota can be applied only to the new replicas we are creating as part of the rebalance. 



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