Reputation: 87
For develop purpose, I want to setup control center for my single broker kafka, but it was failed because of the exception. I put my configurations and control center output log details here. Could anyone help advise on it ?
[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)
Upvotes: 4
Views: 2530
Reputation: 1
change the service configuration confluent-control-center.service file in "/lib/system/system"
ExecStart=/usr/bin/control-center-start /etc/confluent-control-center/control-center-minimal.properties
Upvotes: 0
Reputation: 32090
You need to tell Confluent Control Center to use a single broker for its topics. By default it's configured to require three to prevent possible data loss
In your control-center-production.properties
set:
confluent.controlcenter.internal.topics.replication=1
confluent.controlcenter.command.topic.replication=1
confluent.monitoring.interceptor.topic.replication=1
confluent.metrics.topic.replication=1
Upvotes: 5