Kafka Connect警报选项?

编程入门 行业动态 更新时间:2024-10-23 05:36:22
本文介绍了Kafka Connect警报选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

对于Kafka Connect连接器或连接器任务失败或遇到错误的情况,是否有任何警报选项?

Are there any alerting options for scenarios where a Kafka Connect Connector or a Connector task fails or experiences errors?

我们正在运行Kafka Connect,它运行良好,但是我们有一些错误需要手动跟踪和发现.通常,在人们注意到问题之前,它一直处于错误状态一周.

We have Kafka Connect running, it runs well, but we've had errors that need to be manually traced and discovered. And often, it's been in an error state for a week before a human notices a problem.

推荐答案

自从撰写/回答了这篇文章以来,Kafka Connect开始提供自己的官方指标.Apache Kafka Connect以旧版JMX格式提供指标.

Since this post was written/answered, Kafka Connect began providing its own official metrics. The Apache Kafka Connect provides metrics in legacy JMX format.

如果您使用Confluent Kafka Connect舵表( github/confluentinc/cp-helm-charts/tree/master/charts/cp-kafka-connect ),其中包括Prometheus指标导出器.

If you use the Confluent Kafka Connect Helm Charts (github/confluentinc/cp-helm-charts/tree/master/charts/cp-kafka-connect), they include a Prometheus metrics exporter.

我从Confluent Helm Chart Prometheus图表中的 cp_kafka_connect_connect_connect_connector_metrics {status ="running"} 进行监视和警报,但是有很多变化.

I monitor and alert on cp_kafka_connect_connect_connector_metrics{status="running"} from the Confluent Helm Chart Prometheus chart, but there are many variations to that.

通常,对于任何自动监视+警报设置,通常都首选使用官方的Kafka Connect指标.写这篇文章并回答时,此选项无法使用.

Using the official Kafka Connect metrics is generally preferable for any automated monitoring + alerting setup. This option wasn't available back when this post was written + answered.

仅供参考,Kafka仍然没有公开滞后指标,因此您仍然需要第三方选项来监视和提醒滞后.

FYI, Kafka still doesn't expose lag metrics, so you still need third party options to monitor and alert on lag.

更多推荐

Kafka Connect警报选项?

本文发布于:2023-11-27 21:10:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639616.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:警报   选项   Kafka   Connect

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!