ruanwenjun opened a new issue #5436: URL: https://github.com/apache/dolphinscheduler/issues/5436
**Describe the feature** When we add a new plugin, we need to restart the application to load the plugin. For example, if we add a new alert plugin, we need to restart the alert service. In many cases, we would like to avoid restarting the service, because restarting the service may affect the tasks currently running. **Is your feature request related to a problem? Please describe.** This feature is not related to a problem, just for improvement. **Describe the solution you'd like** The alert server load plugin from two ways. One is load from `alert.plugin.dir` and another is property `alert.plugin.binding` in `alert.properties`. After loading, the plugins will be stored in memory. We can register a `WatchEvent` to monitor the plugin file content changes events. `Path` can provide such a function. If the plugin file changed, we reload the plugin, and replace the plugin map in `AlertPluginManager`. -- 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. For queries about this service, please contact Infrastructure at: [email protected]
