I find the answer on the QUICKSTART:
Option
zookeeperis deprecated, use--bootstrap-serverinstead.
Now it works:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
I find the answer on the QUICKSTART:
Option
zookeeperis deprecated, use--bootstrap-serverinstead.
Now it works:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning