Error creating Kafka Topics- Replication factor larger than available brokers

前端 未结 15 1992
时光取名叫无心
时光取名叫无心 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:01

    Seems like your server not started , check logs for issue

    Kill process

    sudo fuser -k 2181/tcp
    

    run zookeeper

    bin/zookeeper-server-start.sh config/zookeeper.properties
    

    Run Kafka

    bin/kafka-server-start.sh config/server.properties  ' 
    

提交回复
热议问题