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

   ### Description
   
   In DataProxy's org.apache.inlong.dataproxy.source.ServerMessageHandler 
logical processing, if an illegal exception is identified, DataProxy will throw 
an Exception[1], and the Exception will be caught in the exceptionCaught 
function of this class and perform exception statistics[2]
   
   In this logical processing, we should throw the clear exceptions with a 
clear exception class, and exclude the known exceptions of this type in the 
exceptionCaught function, so that we can only judge and analyze the 
undetermined exceptions when making exception statistics.
   
   1. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/ServerMessageHandler.java#L142
   
![image](https://github.com/apache/inlong/assets/14038849/208e9414-14bc-4f36-91fd-8df1942b105e)
   
   2. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/ServerMessageHandler.java#L227
   
![image](https://github.com/apache/inlong/assets/14038849/26bcd0e4-4363-4bb1-8c5c-0028e9efd49c)
   
   
   ### InLong Component
   
   InLong DataProxy
   
   ### 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: dev-unsubscr...@inlong.apache.org.apache.org

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

Reply via email to