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

Jun Rao commented on KAFKA-7983:
--------------------------------

[~huxi_2b], leader.replication.throttled.replicas and 
follower.replication.throttled.replicas are dynamically set through 
ReplicationQuotaManager.markThrottled() at the topic level. However, these two 
properties don't exist at the broker level config and BrokerConfigHandler 
doesn't call ReplicationQuotaManager.markThrottled(). So, currently, we can't 
set leader.replication.throttled.replicas and 
follower.replication.throttled.replicas at the broker level either statically 
or dynamically.

> supporting replication.throttled.replicas in dynamic broker configuration
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-7983
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7983
>             Project: Kafka
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jun Rao
>            Priority: Major
>
> In 
> [KIP-226|https://cwiki.apache.org/confluence/display/KAFKA/KIP-226+-+Dynamic+Broker+Configuration#KIP-226-DynamicBrokerConfiguration-DefaultTopicconfigs],
>  we added the support to change broker defaults dynamically. However, it 
> didn't support changing leader.replication.throttled.replicas and 
> follower.replication.throttled.replicas. These 2 configs were introduced in 
> [KIP-73|https://cwiki.apache.org/confluence/display/KAFKA/KIP-73+Replication+Quotas]
>  and controls the set of topic partitions on which replication throttling 
> will be engaged. One useful case is to be able to set a default value for 
> both configs to * to allow throttling to be engaged for all topic partitions. 
> Currently, the static default value for both configs are ignored for 
> replication throttling, it would be useful to fix that as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to