0.90版本之后启动消费者的方法:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
[root@spark1 ~]# /application/kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic productscanlog --from-beginning
==============================
QQ群:143522604
群里有相关资源
欢迎和大家一起学习、交流、提升!
==============================