认识kafka主题的现有制作人 [英] Know existing producers for a kafka topic
本文介绍了认识kafka主题的现有制作人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Kafka服务器中,我想知道所有将数据发送到Kafka主题的生产者.有没有找到它的方法.
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.
谢谢.
推荐答案
这是不可能的.Kafka经纪人没有有关已连接生产者的任何信息,即使该生产者无法提供有关连接的任何身份信息也是如此.因此,没有命令行工具可以做到这一点.
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.
这篇关于认识kafka主题的现有制作人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文