eolivelli opened a new pull request, #16304:
URL: https://github.com/apache/pulsar/pull/16304

   ### Motivation
   
   In `consumerFlow` for Shared subscriptions 
(PersistentDispatcherMultipleConsumers) we execute readMoreEntries and this 
happens in the `pulsar-io` threadpool.
   
   In PersistentDispatcherSingleActiveConsumer (Failover/Exclusive) we defer 
the execution of that code to another threadpool 
   
   @dave2wave reported in OMB tests with offloaders that the execution of tests 
with Shared subscription is really less performant.
   
   ### Modifications
   
   Move the execution of readMoreEntries to the topic thread.
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   


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