confluentinc / cp-docker-images

[DEPRECATED] Docker images for Confluent Platform.
Apache License 2.0
1.14k stars 703 forks source link

ERROR found topic=_confluent-controlcenter-5-4-1-1-aggregatedTopicPartitionTableWindows-THREE_HOURS-changelog with partitions=1 instead of expectedPartitions=2 (io.confluent.controlcenter.KafkaHelper) #840

Open codebased opened 4 years ago

codebased commented 4 years ago

I have been trying start cp-enterprise-control-center:latest through docker-compose yml.

However I am getting this error:

ERROR found topic=_confluent-controlcenter-5-4-1-1-aggregatedTopicPartitionTableWindows-THREE_HOURS-changelog with partitions=1 instead of expectedPartitions=2 (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,762] ERROR found topic=_confluent-controlcenter-5-4-1-1-aggregatedTopicPartitionTableWindows-THREE_HOURS-changelog with replication=1 expecting at least expectedReplication=3 (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,762] ERROR found topic=_confluent-controlcenter-5-4-1-1-aggregatedTopicPartitionTableWindows-THREE_HOURS-changelog with isr=1 below minIsr=2 (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,762] INFO checking topicDescription=(name=_confluent-controlcenter-5-4-1-1-MonitoringStream-THREE_HOURS-changelog, internal=false, partitions=(partition=0, leader=broker2:19093 (id: 2 rack: null), replicas=broker2:19093 (id: 2 rack: null), isr=broker2:19093 (id: 2 rack: null)), authorizedOperations=[]) (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,763] ERROR found topic=_confluent-controlcenter-5-4-1-1-MonitoringStream-THREE_HOURS-changelog with partitions=1 instead of expectedPartitions=2 (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,763] ERROR found topic=_confluent-controlcenter-5-4-1-1-MonitoringStream-THREE_HOURS-changelog with replication=1 expecting at least expectedReplication=3 (io.confluent.controlcenter.KafkaHelper) [2020-03-15 12:27:42,763] ERROR found topic=_confluent-controlcenter-5-4-1-1-MonitoringStream-THREE_HOURS-changelog with isr=1 below minIsr=2 (io.confluent.controlcenter.KafkaHelper)

My docker-compose:

control-center: image: confluentinc/cp-enterprise-control-center:latest hostname: control-center container_name: control-center depends_on:

  • zoo1
  • zoo2
  • zoo3
  • broker1
  • broker2
  • broker3
  • schema-registry
  • connect
  • ksql-server ports:
  • "9021:9021" environment: CONTROL_CENTER_BOOTSTRAP_SERVERS: 'broker2:19093'

    CONTROL_CENTER_ZOOKEEPER_CONNECT: 'zoo1:2181'

    CONTROL_CENTER_CONNECT_CLUSTER: 'connect:8083'

    CONTROL_CENTER_KSQL_URL: "http://ksql-server:8088" CONTROL_CENTER_KSQL_ADVERTISED_URL: "http://ksql-server:8088" CONTROL_CENTER_SCHEMA_REGISTRY_URL: "http://schema-registry:8081" CONTROL_CENTER_REPLICATION_FACTOR: 3 CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS: 2 CONTROL_CENTER_MONITORING_INTERCEPTOR_TOPIC_PARTITIONS: 3 CONFLUENT_METRICS_TOPIC_REPLICATION: 3 PORT: 9021

Any suggestion?

OneCricketeer commented 4 years ago

Look at CONTROL_CENTER_INTERNAL_TOPICS_PARTITIONS: 2

OneCricketeer commented 4 years ago

Also, CONTROL_CENTER_BOOTSTRAP_SERVERS should list all brokers, not only one

And running multiple brokers on one machine will actually be less performant than only one