t3link commented on issue #10523:
URL: https://github.com/apache/pulsar/issues/10523#issuecomment-836707922


   @codelipenghui Thanks! After have a look at 
`PersistentStickyKeyDispatcherMultipleConsumers.java`. I think none of the 
three selector strategies are suitable for my situation. Cause they all use 
`Murmur3_32Hash` to calculate a slot or range. This would like to work well 
when the message key set is large. I'll consider spliting my messages to some 
independent topics, and then each topic can be  subscribed by 
`ConsistentHashingStickyKeyConsumerSelector`. Also Thoses topics can be hashed 
by a simple modulo operation.


-- 
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