如何在融合控制中心连接Apache kafka指标? [英] How to connect Apache kafka metrices in confluent control center?

查看:24
本文介绍了如何在融合控制中心连接Apache kafka指标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用的是 apache kafka 2.7 版本,在此之前我们使用的是 confluent-platform 版本的 kafka,我们可以在其中访问控制中心来查看传入/传出数据速率、磁盘空间等指标等统计数据.

we are using apache kafka 2.7 version, Before that we used confluent-platform version of kafka where we can access control center to view the statistics like incoming/outgoing data rate,disk space like those metrices.

现在我们使用的是apache kafka,需要在控制中心查看同类型的统计数据

Now we are using apache kafka and need to view the same kind of statistics in control center

有可能吗……?

如果可能,谁能告诉我如何执行这些操作?

if possible can anyone tell how to perform these?

推荐答案

您仍然需要下载 Confluent Platform,然后找到 Confluent 拦截器和指标报告器的所有相关 JAR 文件并将其复制到每个代理(和其他客户端,如 Connect),然后重新配置相关属性并重新启动每个系统.您也可以直接从Maven

You'd need to download Confluent Platform, still, then find and copy all relevant JAR files for the Confluent interceptors and metric reporters into the Kafka libs directory in each broker (and other clients like Connect), then reconfigure the relevant properties and restart each system. You might also be able to grab the jar(s) directly from Maven

请注意,Apache Kafka 代理不会检测任何以 confluent. 前缀开头的代理配置,因此您还需要手动创建一些主题,例如 _confluent-metrics

Note that Apache Kafka brokers will not detect any broker configuration that starts with confluent. prefix, so you'll also need to manually create some topics like _confluent-metrics

https://docs.confluent.io/platform/current/kafka/metrics-reporter.html

这篇关于如何在融合控制中心连接Apache kafka指标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆