[
https://issues.apache.org/jira/browse/KAFKA-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634956#comment-16634956
]
ZhangShuai commented on KAFKA-7468:
-----------------------------------
PR is ready for review:https://github.com/apache/kafka/pull/5723
> KafkaController no need to startup the inner kafkaScheducer when
> auto.leader.rebalance.enable is false
> ------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-7468
> URL: https://issues.apache.org/jira/browse/KAFKA-7468
> Project: Kafka
> Issue Type: Improvement
> Components: controller
> Affects Versions: 2.0.0
> Reporter: ZhangShuai
> Priority: Minor
>
> KafkaController has its inner member KafkaScheduler instance to schedule auto
> leader rebalance tasks. But when the auto rebalance config set false, no need
> to startup the kafkaScheduler, because that created a non-used
> ScheduledThreadPoolExecutor with one thread.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)