oznitecki commented on issue #9352:
URL: https://github.com/apache/pulsar/issues/9352#issuecomment-770327620


   @codelipenghui example:
   Say you have 4 keys, 2 of them get 1000 messages per second and the other 2 
get 1 message per second but you do not know in advance which is which (and to 
make it more complicated you could say the message overload picture change 
every couple of days). No matter how you will split the key range between 2 
consumers there could be a case where both overloaded keys are attached to one 
consumer. In this case, one consumer would be idle but there would be many 
messages with the 2 overloaded keys waiting. If the block was by key and not 
specific consumer, the idle consumer could take 1 of the 2 overloaded keys.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to