merlimat commented on a change in pull request #9551:
URL: https://github.com/apache/pulsar/pull/9551#discussion_r573927273
##########
File path:
pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/EnsemblePlacementPolicyConfig.java
##########
@@ -30,6 +31,8 @@
private final Class policyClass;
private final Map<String, Object> properties;
+ private static ObjectMapper mapper = new ObjectMapper();
Review comment:
We've seen concurrency issues in the past resulting in random
exceptions. If I'm not remembering wrong, they were related to the caching of
the classes introspection in the object mapper.
----------------------------------------------------------------
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:
[email protected]