Skip to main content

Alert configuration demo

Last updated 10/02/2026

LogBus2 configuration​

Configuration explained​

  • enabled: Whether to enable alerts. Default: false
  • receiver: The alert receiver. Currently, feishu_robot is supported. Required
  • extra: Extra information, output as is in the alert message. Optional
  • out_cfg.feishu_robot_hook: The Feishu bot webhook URL. Required

demo​

{
"datasource": [
{
"type": "kafka",
"topic": "ta-logbus-t1",
"consumer_group": "kafka_test",
"auto_commit": false,
"brokers": [
"127.0.0.1:9092"
],
"block_partitions_timeout": 4000,
"block_partitions_revoked": false
}
],
"alert": {
"enabled": true,
"receiver": "feishu_robot",
"extra": "Test",
"out_cfg": {
"feishu_robot_hook": "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_WEBHOOK_TOKEN"
}
},
"push_url": "http://127.0.0.1:8992"
}
Was this page helpful?