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

zhaobo updated KAFKA-8543:
--------------------------
    Affects Version/s:     (was: 2.2.0)
                       2.1.0

> Optimize Fetch thread allocation strategy to ensure full utilization of Fetch 
> thread resources
> ----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-8543
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8543
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 2.1.0
>            Reporter: zhaobo
>            Priority: Major
>
> The Follow TP on the Broker needs to fetch data from the Leader broker. The 
> original fetch thread allocation strategy has two areas that can be optimized:
> (1)The configuration file has a parameter "num.consumer.fetchers" which 
> limits the number of threads fetching data from a source broker. In fact, 
> Fetch resources are not fully used, and only a part of the threads will be 
> used with a high probability. When the traffic of the Leader TP increases, 
> the fetch capability may be bottlenecked.
> (2)The number of TPs responsible for each Fetch thread may be uneven.
> Improve: We propose a polling allocation method to ensure that Fetch thread 
> resources can be fully utilized. And the number of TPs responsible for each 
> fetch thread is balanced.



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

Reply via email to