coderzc commented on code in PR #20119:
URL: https://github.com/apache/pulsar/pull/20119#discussion_r1169334005


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java:
##########
@@ -235,7 +235,7 @@ public synchronized void removeConsumer(Consumer consumer) 
throws BrokerServiceE
 
     @Override
     public void consumerFlow(Consumer consumer, int 
additionalNumberOfMessages) {
-        topic.getBrokerService().executor().execute(() -> {
+        topic.getOrderedExecutor().execute(() -> {

Review Comment:
   Does it seem to be possible to use `this.dispatchMessagesThread`?



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