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

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

    Run the below command from bin:

    ./kafka-console-consumer.sh --topic test --from-beginning --bootstrap-server localhost:9092
    

    "test" is the topic name

提交回复
热议问题