mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
* 查看指定topic 下面的数据 中 ---bootstrap-server 192.168.1.117:9092 多了个-
@@ -163,7 +163,7 @@ advertised.listeners=PLAINTEXT://192.168.1.117:9092 #本机ip
|
||||
```
|
||||
* 查看指定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].
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user