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/30 20:31:57 UTC

[GitHub] [pulsar] michaeljmarshall commented on pull request #11820: [Functions] ConcurrentHashMap should be used for caching producers

michaeljmarshall commented on pull request #11820:
URL: https://github.com/apache/pulsar/pull/11820#issuecomment-908672692


   @lhotari - I took a look, and I think the current design is intentional to allow for the `PulsarClientException` to be thrown without special handling in the `computeIfAbsent` method, which does not allow for checked exceptions to be thrown from the `mappingFunction`. I think refactoring it will require more work than I first thought, so I won't be able to send a patch today.


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