zhuangchong opened a new pull request #3979: URL: https://github.com/apache/incubator-dolphinscheduler/pull/3979
#3754 ## What is the purpose of the pull request In this feature , Alert server is a message notification service , email and wechat is a plugin of this service . If you want send email message you can create an instance of email plugin in the alert group and then you can select the alert group in SqlTask . SqlTask can call the alert server api with this alert group arrguement to send the message. So we need alert api to support other service invoke. Now the alert service sends alarms abnormally by periodically scanning the records in table t_ds_alert. It is asynchronous. In the SqlTask task case, the task need send message synchronous and the final running status of this task depends on whether the message is sent successfully. So the alert api need send messages synchronously. the params of alert api : * alert group id : requied, One or more alert plugin instances are associated with an alert group, and these alert plugin instances will be called in turn when sending a message. * title : requied, the title of this alert message. * content: requied, the content of this alert message. ---------------------------------------------------------------- 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]
