mattisonchao commented on code in PR #20119:
URL: https://github.com/apache/pulsar/pull/20119#discussion_r1169360024
##########
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:
I don't know why `this.dispatchMessagesThread ` is not the current topic
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]