gaojun2048 opened a new issue #3251:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3251


   This is a sub task of 
   
   In this feature, we will put the function of sending email into the alert 
email plugin. But I found that SqlTask directly calls the code for sending 
emails. As a result, after the email function was moved to the 
dolphinscheduler-alert-email module, SqlTask could no longer call the email 
code. 
   
   How should we deal with this situation? 
   
   Should SqlTask send emails directly instead of through alert services? If 
SqlTask should send notifications through the alert server, then the alert 
server should provide something for SqlTask to call.
   
   If you think that SqlTask should send notifications through the alert 
service, then I have a few ideas. You can discuss which is more appropriate:
   
   1. Alert server provides grpc interface or http interface, SqlTask calls 
these interfaces to send notifications.
   
   2. SqlTask directly inserts an alert data into the table t_ds_alert, and 
then the alert server will automatically send a notification asynchronously.
   
   Do you have any suggestions?


----------------------------------------------------------------
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]


Reply via email to