You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by 孙森 <se...@163.com> on 2021/05/23 03:13:31 UTC

Why Kafka use the rebalance strategy of rocketmq

hi,
     Can someone help me find out the reason why kafka use the rebalance strategy of rocketmq. When the rocketmq consumer in rebalance ,it does not stop the consuming job, and would not cause the STW. Without the control of the leader member, this rebalance is more lightweight.





Re: why does kafka not use the rebalance strategy of rocketmq

Posted by "Matthias J. Sax" <mj...@apache.org>.
As of Kafka 2.4, Kafka also supports incremental balancing and does
avoid a stop-the-world effect.

Cf.
https://cwiki.apache.org/confluence/display/KAFKA/KIP-429%3A+Kafka+Consumer+Incremental+Rebalance+Protocol


There is also a Kafka Summit talk about it:
https://www.confluent.io/kafka-summit-lon19/everything-you-wanted-to-know-kafka-afraid/



-Matthias


On 5/24/21 2:09 AM, 孙森 wrote:
>>
>>
>> hi,
>>     Can someone tell me the reason why kafka dose not use the rebalance strategy of rocketmq. When the rocketmq consumer in rebalance ,it does not stop the consuming job, and would not cause the STW. Without the control of the leader member, this rebalance is more lightweight.
>>
> 

why does kafka not use the rebalance strategy of rocketmq

Posted by 孙森 <se...@163.com>.
> 
> 
> hi,
>     Can someone tell me the reason why kafka dose not use the rebalance strategy of rocketmq. When the rocketmq consumer in rebalance ,it does not stop the consuming job, and would not cause the STW. Without the control of the leader member, this rebalance is more lightweight.
>