简体   繁体   English

融合控制中心未显示系统运行状况(对于多集群配置)

[英]Confluent Control center not showing system health (for a Multi-Cluster Configuration)

I'm having trouble getting control-center to work. 我无法让控制中心正常工作。 Setted up a 3 node kafka cluster using the following docker image = confluentinc/cp-enterprise-kafka. 使用以下docker image = confluentinc / cp-enterprise-kafka设置3节点kafka集群。 On a separate machine I've downloaded confluent platform v5.0.1 and I've configured (tried) control-center to monitor the docker cluster. 在单独的计算机上,我已经下载了融合平台v5.0.1,并且已经配置(尝试)了控制中心来监视docker集群。

The kafka broker I'm using for the control-center configuration is the same from the confluent platform v5.0.1, downloaded.(I start the whole stack via bin/confluent start) 我用于控制中心配置的kafka代理与从融合平台v5.0.1下载的相同(我通过bin / confluent start启动整个堆栈)

But I keep getting the rocket launching page when clicking Monitoring > System health. 但是,在单击“监视”>“系统运行状况”时,我一直得到火箭发射页面。

My setup : -------------------------------------------------------- 我的设置:----------------------------------------------- ---------

  • 3 node kafka cluster using docker images. 使用docker映像的3节点kafka集群。
  • docker image used = confluentinc/cp-enterprise-kafka 使用的docker映像= confluentinc / cp-enterprise-kafka

kafka running on these hostnames for the 3-node cluster : 在三节点集群的这些主机名上运行的kafka:

  • os0 / running on tcp/29092 os0 /在tcp / 29092上运行
  • os1 / running on tcp/39092 OS1 /在TCP / 39092上运行
  • os2 / running on tcp/49092 OS2 /在TCP / 49092上运行

Control-center is running on a separate machine whose hostname = sb1 控制中心在主机名= sb1的单独计算机上运行

Futhermore the brokers have the following directives defined as : 此外,经纪人将以下指令定义为:

  • metric.reporters=io.confluent.metrics.reporter.ConfluentMetricsReporter metric.reporters = io.confluent.metrics.reporter.ConfluentMetricsReporter
  • confluent.metrics.reporter.bootstrap.servers=sb1:9092 confluent.metrics.reporter.bootstrap.servers = SB1:9092

For the control-center I added the 3 node cluster config : 对于控制中心,我添加了3节点集群配置:

  • confluent.controlcenter.kafka.osd.bootstrap.servers=os0:29092,os1:39092,os2:49092 confluent.controlcenter.kafka.osd.bootstrap.servers = OS0:29092,OS1:39092,OS2:49092

I'm expecting the kafka brokers writing to the kafka broker @ sb1 (used by control-center) topic _confluent-metrics 我期望卡夫卡经纪人写信给卡夫卡经纪人@ sb1(由控制中心使用)主题_confluent-metrics

What I've tried/checked/debugged so far : 到目前为止,我已经尝试/检查/调试的内容:

  • dumped the the topic _confluent-metrics, and I have messages being written there 转储主题_confluent-metrics,我在其中写了消息
  • I dont know if logs from control-center (@ /tmp/confluent.QJ2C4BmE/control-center/control-center.stdout) do show anyhting useful (at least for what I can interpret) 我不知道控制中心(@ /tmp/confluent.QJ2C4BmE/control-center/control-center.stdout)的日志是否显示有用(至少对于我能解释的内容)
    • I can see HTTP/200 for the cluster I'm trying to monitor written down in the blog. 我可以在博客中看到要监视的群集的HTTP / 200。
  • at the log from the kafka brokers I also see written the following, which put me thinking the messages were written to the topic : [2018-12-15 07:57:59,893] ERROR Failed to submit metrics to Kafka topic __confluent.support.metrics (due to exception): java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for __confluent.support.metrics-0: 30083 ms has passed since batch creation plus linger time (io.confluent.support.metrics.submitters.KafkaSubmitter) [2018-12-15 07:58:01,088] INFO Successfully submitted metrics to Confluent via secure endpoint (io.confluent.support.metrics.submitters.ConfluentSubmitter) 在来自kafka经纪人的日志中,我还看到了以下内容,这使我认为消息已写入该主题:[2018-12-15 07:57:59,893]错误无法向Kafka主题__confluent.support提交指标。指标(由于异常):java.util.concurrent.ExecutionException:org.apache.kafka.common.errors.TimeoutException:__confluent.support.metrics-0的1条记录已过期:自批量创建以来已过去30083 ms持续时间(io.confluent.support.metrics.submitters.KafkaSubmitter)[2018-12-15 07:58:01,088] INFO通过安全端点(io.confluent.support.metrics.submitters.ConfluentSubmitter)成功将指标提交给Confluent

I run out of viable solutions to debug this, any help would be appreciated. 我用尽了可行的解决方案来调试它,任何帮助将不胜感激。

thanks in advance. 提前致谢。

I was accessing control center via an ssh tunnel. 我正在通过ssh隧道访问控制中心。 (This was a testing environment I was using to set up CC (control center)). (这是我用来设置CC(控制中心)的测试环境)。

When I accessed directly to the ip:port of CC everything run smoothly. 当我直接访问CC的ip:port时,一切运行顺利。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM