kafka查看topic和消息內容命令

一、查詢topic,進入kafka目錄: bin/kafka-topics.sh --list --zookeeper localhost:2181   二、查詢topic內容: bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topicName --from-beginning 轉載於:https:/
相關文章
相關標籤/搜索