congbobo184 commented on PR #20522:
URL: https://github.com/apache/pulsar/pull/20522#issuecomment-1580725233

   > The reason we `chooseThread(topicName)` is that we'd like to order all 
tasks of the same topics.
   > 
   why we need to do these task in order?
   
   
https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java#L544
   it don't make this op in order
   
   https://github.com/apache/pulsar/pull/1522 only to mmon thread for frequence 
operations, don't need to promise the different dispatcher with the same topic 
need to use the same thread
   
   
   
   


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