有没有任何我可以配置洞穴发送电子邮件通知时,lag=0在卡夫卡队列。这是我的配置。
[general]
logdir=log
logconfig=config/logging.cfg
pidfile=burrow.pid
client-id=burrow-lagchecker
group-blacklist=^(console-consumer-|python-kafka-consumer-).*$
#group-whitelist=^(my-important-consumer).*$
[zookeeper]
hostname=zkhost01.example.com
hostname=zkhost02.example.com
hostname=zkhost03.example.com
port=2181
timeout=6
lock-path=/burrow/notifier
[kafka "local"]
broker=kafka01.example.com
broker=kafka02.example.com
broker=kafka03.example.com
broker=kafka04.example.com
broker=kafka05.example.com
broker-port=10251
zookeeper=zkhost01.example.com
zookeeper=zkhost02.example.com
zookeeper=zkhost03.example.com
zookeeper-port=2181
zookeeper-path=/kafka-cluster
offsets-topic=__consumer_offsets
[storm "local"]
zookeeper=zkhost01.example.com
zookeeper=zkhost02.example.com
zookeeper=zkhost03.example.com
zookeeper-port=2181
zookeeper-path=/kafka-cluster/stormconsumers
[tickers]
broker-offsets=60
[lagcheck]
intervals=10
expire-group=604800
[smtp]
server=mailserver.example.com
port=25
from=burrow-noreply@example.com
template=config/default-email.tmpl
[emailnotifier "xxh@example.com"]
group=local,critical-consumer-group
group=local,other-consumer-group
interval=60
[notify]
interval=10发布于 2018-03-15 02:22:20
您可以将阈值变量添加到配置中
[notifier.gemail]
class-name="email"
interval=30
threshold=1https://github.com/linkedin/Burrow/wiki/Notifier-Email https://godoc.org/github.com/linkedin/Burrow/core/protocol#StatusConstant
https://stackoverflow.com/questions/42058753
复制相似问题