Vanlightly commented on pull request #11691: URL: https://github.com/apache/pulsar/pull/11691#issuecomment-901139152
@315157973 we could look at something like that. The ConsumerImpl has its `internalPinnedExecutor` so could be leveraged to avoid multi-threaded calls by submitting some part of the `pendingBatchReceiveTask` to it. But the MultiTopicsConsumerImpl doesn't do that, it uses the internal pool, rather than one pinned executor service. Perhaps the MultiTopicsConsumerImpl could also pin a single internal executor service as well? I don't know the history of the threading model choice so I'm not sure if that is a good way to go or not. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org