[
https://issues.apache.org/jira/browse/KAFKA-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634948#comment-16634948
]
ASF GitHub Bot commented on KAFKA-7468:
---------------------------------------
xiaoxiaogua opened a new pull request #5723: KAFKA-7468 No need to startup the
kafkaScheduer in KafkaController when auto leader rebalance is false
URL: https://github.com/apache/kafka/pull/5723
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 is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)