Know existing producers for a kafka topic

2019-06-28 03:49发布

问题:

In a Kafka server, I want to know all the producers which are sending data to a Kafka topic. Is there a way to find it.

Thanks.

回答1:

It's not possible. A Kafka broker doesn't have any information about connected producers even because the producer could not provide any identity information on connection; for this reason there is no command line tool for doing that.