How to list producers in kafka

前端 未结 1 1054
北海茫月
北海茫月 2021-02-08 01:34

Just as Kafka Offset Monitor can show a list of active consumers of a topic, is there any tool or command line interface or anything that can list the name of producers publishi

1条回答
  •  不思量自难忘°
    2021-02-08 02:22

    You can view the MBeans over JMX, perhaps using jvisualvm (though you'll have to add the mbean browser plugin to it). Once you connect to the broker, look in the following mbean path:

    kafka.server -> Produce -> [contains your list of producers]
    

    0 讨论(0)
提交回复
热议问题