I modified some consumer configuration items, mainly about the parameters of 
fetch frequency, heartbeat, and session timeout. The problem of long time 
rebalance has not been found in the test environment for a long time. The 
relevant configuration is as follows:fetch-max-wait: 1s
heartbeat-interval: 1s
session.timeout.ms: 10000
metadata.max.age.ms: 6000
max.poll.records: 100
max.poll.interval.ms: 500




------------------ ???????? ------------------
??????: "Shantanu Deshmukh"<shantanu...@gmail.com>;
????????: 2018??8??16??(??????) ????2:25
??????: "users"<users@kafka.apache.org>;

????: Re: How to reduce kafka's rebalance time ?



I am also facing the same issue. Whenever I am restarting my consumers it
is taking upto 10 minutes to start consumption. Also some of the consumers
randomly rebalance and it again takes same amount of time to complete
rebalance.
I haven't been able to figure out any solution for this issue, nor have I
received any help from here.

On Thu, Aug 16, 2018 at 9:56 AM ????de???? <jerrywon...@qq.com> wrote:

> hello:
> How to reduce kafka's rebalance time ?
> It takes a lot of time to rebalance each time. Why?

Reply via email to