1、Alert is very independent and common function, why should we to implement it as plugin?
I think Alert should be divided into two parts. One is that the server collects various alarm information. The other is to pass these warning contents through optional methods (such as email, WeChat). I think the specific alarm method should not be implemented by the AlertServer server. It should be abstracted into an interface and implemented by a concrete plug-in implementation layer. If someone understands and is familiar with other alarm methods, he can implement other alarm plug-ins based on the plug-in design. If he wants, he can contribute this plug-in to us. Plug-inization is just a way to decouple projects. 2、The plug-in you mentioned is part of dolphinscheduler or a thirdparty? If it is a thirdparty, it may generally be managed by its own git, and it will not be placed in the dolphinscheduler related directory. Plug-inization is just a way to decouple projects. All Plugin is part of dolphinscheduler. And we can use jsonschema to solve the dynamic ui, for example: alpacajs( http://alpacajs.org/ <http://alpacajs.org/>), it is very powerful. @daolidong We can FYI this. Xiaochun Liu <[email protected]> 于2020年6月3日周三 上午11:35写道: > Good proposal, but I have some question as following: > 1、Alert is very independent and common function, why should we to > implement it as plugin? > 2、The plug-in you mentioned is part of dolphinscheduler or a thirdparty? > If it is a thirdparty, it may generally be managed by its own git, and it > will not be placed in the dolphinscheduler related directory. > > And we can use jsonschema to solve the dynamic ui, for example: alpacajs( > http://alpacajs.org/ <http://alpacajs.org/>), it is very powerful. > > Best Regards > --------------- > DolphinScheduler(Incubator) Committer > Xiaochun Liu 刘小春 > [email protected] > --------------- > > > > > 2020年6月2日 下午3:04,JUN GAO <[email protected]> 写道: > > > > https://github.com/gaojun2048/incubator-dolphinscheduler/pull/1 < > https://github.com/gaojun2048/incubator-dolphinscheduler/pull/1> > -- DolphinScheduler(Incubator) PPMC Jun Gao 高俊 [email protected]
