您可以通过JMX查看MBeans,可能需要使用jvisualvm(但您需要向其添加mbean浏览器插件)。连接到代理后,请查看以下mbean路径: kafka.server -> Produce -> [contains your list of producers]