kafka常用命令
Posted kaka_jon
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kafka常用命令相关的知识,希望对你有一定的参考价值。
1. 查看topic列表
/data/elk/kafka/bin/kafka-topics.sh --zookeeper 127.0.0.1:2181 --list
2. 查看offset
/data/elk/kafka/bin/kafka-consumer-offset-checker.sh --zookeeper localhost:2181 --topic web-vip-proxy-nginx-log --group elk
以上是关于kafka常用命令的主要内容,如果未能解决你的问题,请参考以下文章