Error creating Kafka Topics- Replication factor larger than available brokers

前端 未结 15 1991
时光取名叫无心
时光取名叫无心 2020-12-30 18:30

I am trying to create topics in Kafka by following the guide on Apache Kafka website through command line. While running the command:

bin/kafka-topics.sh --c         


        
15条回答
  •  悲&欢浪女
    2020-12-30 19:06

    The same scenario I faced after deleting the only topic I had created.

    The way to solve it was put Kafka and Zookeeper down, updated Kafka settings (server.properties file) where I add the following setting

    delete.topic.enable=true
    

    saved file, turn Zookeeper and Kafka up and everything run as usual.

提交回复
热议问题