Kafka Eagle
Search…
5.Alarm
New alarm module, to pay attention to their own Topic alarm settings. No consumer information when Topic, more than the threshold, the alarm. At present, the alarm way through the message to the alarm, set as shown in the following figure:

Support IM

In addition to supporting email or webhook alerts, Kafka Eagle also supports im alerts, such as DingDing and WeChat

Channel

First of all, it is necessary to configure alarm channels, select different alarm modes, and divide different alarm groups.
channels_mail
It should be noted that Kafka Eagle alarm mail uri:
1
http://127.0.0.1:10086/email
Copied!
Email or Webhook restful api server uri:
1
http://127.0.0.1:10086/email?address="[email protected]"&msg="alarm msg"
Copied!
Api server uri java code:
1
@RestController
2
public class MailController {
3
@RequestMapping(value="/email", method = RequestMethod.POST)
4
public String sendPostMail(HttpServletRequest request) {
5
// Send Alarm Message
6
System.out.println("[PUT] address: " + request.getParameter("address") + ",msg: " + request.getParameter("msg"));
7
return "OK";
8
}
9
}
Copied!

DingDing

dingding

WeChat

wechat
Last modified 1yr ago