kafka查看消费延迟的问题.

在名 发表于: 2018-03-15   最后更新时间: 2018-03-15 21:49:31   8,266 游览

服务端版本 0.10.1.0

客户端版本 0.10.2.1

执行查看偏移量延迟的命令的时候出现如下错误:

没有在kafka所属的集群机器上执行,在一个能够连接kafka集群网络的机器上执行的

./kafka-consumer-groups.sh --bootstrap-server localhost:6667 --describe --group id72


Note: This will only show information about consumers that use the Java consumer API (non-ZooKeeper-based consumers).

Error: Executing consumer group command failed due to null
发表于 2018-03-15
添加评论

试试这个命令:
bin/kafka-consumer-groups.sh --new-consumer --bootstrap-server localhost:9092 --describe --group test-consumer-group

kafka命令大全:
https://www.orchome.com/454

你的答案

查看kafka相关的其他问题或提一个您自己的问题