You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/01/27 06:12:10 UTC

[GitHub] [pulsar] sijie commented on a change in pull request #9329: Able to handling messages with multiple listener threads in order for the Key_Shared subscription.

sijie commented on a change in pull request #9329:
URL: https://github.com/apache/pulsar/pull/9329#discussion_r565051536



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBase.java
##########
@@ -80,6 +83,7 @@
     protected volatile long incomingMessagesSize = 0;
     protected volatile Timeout batchReceiveTimeout = null;
     protected final Lock reentrantLock = new ReentrantLock();
+    private OrderedExecutor orderedExecutor = null;

Review comment:
       Can you just change the listenerExecutor to `OrderedExecutor`?




----------------------------------------------------------------
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:
users@infra.apache.org