jylsgup
1、查询topic,进入kafka目录:
bin/kafka-topics.sh --list --zookeeper localhost:2181
 
2、查询topic内容:
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic topicName --from-beginning

分类:

技术点:

相关文章:

  • 2021-07-27
  • 2021-08-15
  • 2021-11-28
  • 2022-02-08
  • 2021-04-07
  • 2022-12-23
  • 2021-11-28
  • 2021-12-31
猜你喜欢
  • 2022-01-05
  • 2021-11-28
  • 2021-08-27
  • 2021-11-18
相关资源
相似解决方案