lhotari commented on issue #21900:
URL: https://github.com/apache/pulsar/issues/21900#issuecomment-1891620630

   @qiaofazhan There's a chance that this is a bug in Apache Eventmesh. I 
noticed from the thread dump that Apache Eventmesh is used, perhaps version 
v1.8.0 . 
   The producer cache within Eventmesh uses java.util.HashMap which isn't 
thread safe. 
   
https://github.com/apache/eventmesh/blob/63ac4ec808933a64b048a3988f6c91671d2bc41a/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/client/PulsarClientWrapper.java#L47
   I'd assume that a ConcurrentHashMap should be used if Eventmesh uses 
multiple threads. This is a bug that should be reported to Apache Eventmesh.
   


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