The broker will trigger a rebalance when the channel is expired.And currently, the expired time is fixed to 120 seconds in the code. As long as the heartbeat time, whether 30s or 3s, is smaller than 120 seconds, the brokers will keep the same behavior.
GitBox <[email protected]> 于2018年8月25日周六 下午5:59写道: > wuzuquan opened a new issue #426: 消费者宕机后,broker多久会把下线的节点踢掉 > URL: https://github.com/apache/rocketmq/issues/426 > > > 消费者宕机后,broker多久会把下线的节点踢掉?从而触发rebalance. > > 消费者可以定时发心跳给broker,默认是30s,假设我设置为3s呢,还要等2分钟才能踢吗? > > ---------------------------------------------------------------- > 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] > > > With regards, > Apache Git Services >
