* 查看指定topic 下面的数据 中 ---bootstrap-server 192.168.1.117:9092 多了个-

QiJiYinQiao
2018-09-20 15:18:35 +08:00
parent 75210feb3b
commit a468cc18a4

@@ -163,7 +163,7 @@ advertised.listeners=PLAINTEXT://192.168.1.117:9092 #本机ip
``` ```
* 查看指定topic 下面的数据 * 查看指定topic 下面的数据
``` ```
# bin/kafka-console-consumer.sh ---bootstrap-server 192.168.1.117:9092 --from-beginning --topic example_t # bin/kafka-console-consumer.sh --bootstrap-server 192.168.1.117:9092 --from-beginning --topic example_t
Using the ConsoleConsumer with old consumer is deprecated and will be removed in a future major release. Consider using the new consumer by passing [bootstrap-server] instead of [zookeeper]. Using the ConsoleConsumer with old consumer is deprecated and will be removed in a future major release. Consider using the new consumer by passing [bootstrap-server] instead of [zookeeper].
``` ```