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

后端 未结 16 1989
一个人的身影
一个人的身影 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:55

    For me the solution described in this thread worked - https://stackoverflow.com/a/51540528/7568227

    Check if

    offsets.topic.replication.factor
    

    (or probably other config parameters related to replication) is not higher than the number of brokers. That was the problem in my case.

    There was no need to use --partition 0 anymore after this fix.

    Otherwise I recommend to follow the debugging procedure described in the mentioned thread.

提交回复
热议问题