You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Lucas Wang (JIRA)" <ji...@apache.org> on 2018/09/07 19:19:00 UTC
[jira] [Assigned] (KAFKA-7350) Improve or remove the
PreferredReplicaImbalanceCount metric
[ https://issues.apache.org/jira/browse/KAFKA-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lucas Wang reassigned KAFKA-7350:
---------------------------------
Assignee: Ahmed Al-Mehdi (was: Lucas Wang)
> Improve or remove the PreferredReplicaImbalanceCount metric
> -----------------------------------------------------------
>
> Key: KAFKA-7350
> URL: https://issues.apache.org/jira/browse/KAFKA-7350
> Project: Kafka
> Issue Type: Improvement
> Reporter: Lucas Wang
> Assignee: Ahmed Al-Mehdi
> Priority: Major
>
> In KAFKA-6753, we identified that in the ControllerEventManager, updating two metrics after processing every controller event ends up consuming too much CPU. The first metric OfflinePartitionCount is resolved in KAFKA-6753, and this ticket is for tracking progress on the 2nd metric PreferredReplicaImbalanceCount.
> The options we have about this metric include
> 1. Remove this metric given that if necessary, the value of this metric can be derived by getting the metadata of all topics in the cluster
> 2. Piggyback the update of the metric every time the auto leader balancer runs. The benefit is keeping this metric. However the downside is that this metric may then get obsolete and incorrect depending on when it's checked.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)