如何为汇合控制中心配置单个代理

Alv*_*hao 4 apache-kafka confluent-control-center confluent-platform

出于开发目的,我想为我的单一经纪人 kafka 设置控制中心,但由于异常而失败。我将我的配置和控制中心输出日志详细信息放在这里。有人可以帮忙提供建议吗?

[2020-04-04 11:27:55,883] ERROR [main] 3 brokers are required but only found 1. Check the topic replication settings in the properties file or add more brokers to your cluster (io.confluent.controlcenter.KafkaHelper)
Run Code Online (Sandbox Code Playgroud)

Rob*_*att 5

您需要告诉 Confluence Control Center 使用单个代理来处理其主题。默认情况下,它配置为需要三个以防止可能的数据丢失

在你的control-center-production.properties集合中:

confluent.controlcenter.internal.topics.replication=1
confluent.controlcenter.command.topic.replication=1
confluent.monitoring.interceptor.topic.replication=1
confluent.metrics.topic.replication=1
Run Code Online (Sandbox Code Playgroud)