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

   ### Description
   
   When each source is started, the IP, Port, processing logic, supported 
protocols and other information it uses will be collected through the 
addSourceReportInfo() function for Manager maintenance and processing:
   1. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/SimpleHttpSource.java#L104
   2. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/SimpleTcpSource.java#L113
   3. 
https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/source/SimpleUdpSource.java#L76
   
   The current implementation places this operation in the subclass of each 
Source. In fact, it would be simpler to complete this operation directly in 
BaseSource.java
   
   
   
   ### 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