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

时间:2020-04-04 03:46:15

标签: apache-kafka confluent-platform confluent-control-center

出于开发目的,我想为我的单个经纪人kafka设置控制中心,但是由于异常而失败。我输入了配置和控制中心输出日志详细信息here。有人可以提供建议吗?

[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)

1 个答案:

答案 0 :(得分:3)

您需要告诉Confluent 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