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/08/18 13:59:37 UTC

[GitHub] [pulsar] Vanlightly commented on pull request #11691: [Issue 11689][Client] Fixed block forever bug in Consumer.batchReceive

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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org