如何通过TCP代理与Kafka经纪人连接(不要想使用kafka rest)
我们的部署服务器无法连接到直接无代理的互联网。因此,需要一种将消息发送到外部组织Kafka群集的方法。请注意,我们不想使用kafka休息。
Please find the screen shot, what we are trying to achieve
Our deployment servers can't connect to internet directly without proxy. Hence needed a way to send messages to outside organization kafka cluster. Please note that we do not want to use kafka rest.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
连接到Kafka非常复杂,不支持这种情况。当您首先连接到Bootstrap服务器时;他们根据经纪人属性(广告听众)发送客户所需的实际连接。
Connecting to Kafka is very complex and doesn't support this scenario; when you first connect to the bootstrap servers; they send the actual connections the client needs to make, based on the broker properties (advertised listeners).