You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/01/30 05:41:00 UTC

[GitHub] [pulsar] oznitecki commented on issue #9352: New Subscription mode: key_block

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


   1. Key 1 messages can be processed by many consumers but only one at a time (like in key_shared). Like you said at the same time key 1 is being processed by one consumer, the others are free to take any message with different key. I think that maybe messages with same key should clamp together in some way to make it faster to skip all of them, as the order only matters in the same key and not the queue as a whole.
   2. I was thinking about 100,000 keys (1% of them update all the time and the others are sporadic) and about 10 consumers but would surely want to be able to scale (the number of consumers depends on performance)


----------------------------------------------------------------
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:
users@infra.apache.org