Kafka消费者常用命令

小小编辑 1年前 ⋅ 191 阅读

./bin/kafka-console-consumer.sh --bootstrap-server 172.26.1.2:9092,172.26.1.2:9093,172.26.1.4:9092 --topic flights_info --from-beginnin

./bin/kafka-console-consumer.sh --bootstrap-server 172.26.1.2:9092,172.26.1.2:9093,172.26.1.4:9092 --topic flights_info --from-beginning --property print.timestamp=true | fgrep 'DFUE' >> test20230818.log