lordcheng10 opened a new pull request #13770:
URL: https://github.com/apache/pulsar/pull/13770


   ### Motivation
   Optimize the ConsistentHashingStickyKeyConsumerSelector#addConsumer method:
   1. When the hashRing is successfully added, exit the for loop;
   2. Before adding hashRing, judge whether the consumer already exists in the 
hashRing, if so, exit the for loop;
   
   ### Documentation
   
   Check the box below or label this PR directly (if you have committer 
privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [x] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


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

To unsubscribe, e-mail: [email protected]

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


Reply via email to