ltamber opened a new pull request #8396:
URL: https://github.com/apache/pulsar/pull/8396


   ### Motivation
   Currently, in `ConsistentHashingStickyKeyConsumerSelector` key consumer 
selector,if multi key have the same hash code, the consumer in the `hashRing` 
will be replaced by the newer consumer,  so the behavior of the message 
dispatch will not consistent if the consumer subscribed in a different order.
   
   ### Modifications
   
   handle the hash collision with a list.
   
   ### Verifying this change
   
   unit test `ConsistentHashingStickyKeyConsumerSelectorTest` was passed.
   


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