CalvinKirs opened a new issue #6612:
URL: https://github.com/apache/dolphinscheduler/issues/6612


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   At present, DolphinScheduler has customized a set of ClassLoader mechanism. 
This flexible mechanism can solve many problems, such as class conflicts and 
multi-version isolation. (These loaders are parallel and have no dependency 
relationship. A plug-in can use version 1.0 of a.jar, and plug-in B can use 
version 2.0 of a.jar, because of the fully qualified name of a class and the 
loading of the class The two loader together form the unique identification of 
this class in the JVM)
   
   The flexible definition of the loading mechanism of the classloader allows 
us to do plug-in extension related work better and more assured, which is more 
suitable for task plug-ins such as complex plug-in development.
   
   
   As for the registration center and alarm center, which are relatively 
independent and simple to rely on, we hope to provide a simpler way. Using 
Java's native SPI extension method, users do not need to do too many plug-in 
related configurations, including packaging configuration, plug-in directory 
configuration, etc. , Just implement the plug-in API (we can extract a layer of 
API, all plug-ins need to implement each interface of the API)
   What do you think?
   
   ### Use case
   
   no
   
   ### Related issues
   
   no
   
   ### Are you willing to submit a 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