gosonzhang opened a new issue, #11720:
URL: https://github.com/apache/inlong/issues/11720

   ### Description
   
   When releasing the MsgSenderSingleFactory object, it may be constructing the 
MsgSenderSingleFactory object, causing the newly created SenderFactory object 
to be released[1], so lock the above operation to avoid this problem.
   
   
   1. 
https://github.com/apache/inlong/blob/master/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/MsgSenderSingleFactory.java#L43
   
![Image](https://github.com/user-attachments/assets/bb740fb8-5a07-4937-81e5-0efaefee1601)
   
   ### InLong Component
   
   InLong SDK
   
   ### Are you willing to submit PR?
   
   - [x] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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