Consumer not receiving messages, kafka console, new consumer api, Kafka 0.9

后端 未结 16 1982
一个人的身影
一个人的身影 2021-02-01 02:41

I am doing the Kafka Quickstart for Kafka 0.9.0.0.

I have zookeeper listening at localhost:2181 because I ran

bin/zookeeper-server-start.sh          


        
16条回答
  •  清酒与你
    2021-02-01 02:54

    Was getting the same issue on my Mac. I checked the logs and found the following error.

    Number of alive brokers '1' does not meet the required replication factor '3' for the offsets topic (configured via 'offsets.topic.replication.factor'). 
    This error can be ignored if the cluster is starting up and not all brokers are up yet.
    

    This can be fixed by changing the replication factor to 1. Add the following line in server.properties and restart Kafka/Zookeeper.

    offsets.topic.replication.factor=1
    

提交回复
热议问题