server 10.10.90.210:9092
topic stream_manager_center_capture_file
摄像头id: 17283ed2a1ac685f9fd5ef9f0de04792
cd /usr/loca/kafka
bin/kafka-console-consumer.sh --bootstrap-server 10.10.90.210:9092 --topic stream_manager_center_capture_file
然后添加 grep去找到自己想要的业务id信息
所有命令记录一下:
992 ps -ef|grep kafka
993 pwdx 15898
994 cd /usr/local/kafka
995 bin/kafka-console-consumer.sh --bootstrap-server 10.10.90.210:9092 --topic stream_manager_center_capture_file
996 bin/kafka-console-consumer.sh --bootstrap-server 10.10.90.210:9092 --topic stream_manager_center_capture_file --from-beginning
997 bin/kafka-console-consumer.sh --bootstrap-server 10.10.90.210:9092 --topic stream_manager_center_capture_file
998 bin/kafka-console-consumer.sh --bootstrap-server 10.10.90.210:9092 --topic stream_manager_center_capture_file|grep 17283ed2a1ac685f9fd5ef9f0de04792