如何通过TCP代理与Kafka经纪人连接(不要想使用kafka rest)

发布于 2025-01-21 09:04:16 字数 193 浏览 1 评论 0原文

请找到屏幕截图,我们试图实现的目标

我们的部署服务器无法连接到直接无代理的互联网。因此,需要一种将消息发送到外部组织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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怀中猫帐中妖 2025-01-28 09:04:16

连接到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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文