简体   繁体   English

如何通过代理通过 tcp 连接到 Kafka 代理(不想使用 kafka rest)

[英]How to connect to Kafka brokers via proxy over tcp (don't want to use kafka rest)

Please find the screen shot, what we are trying to achieve请找到屏幕截图,我们正在努力实现的目标

Our deployment servers can't connect to inte.net directly without proxy.如果没有代理,我们的部署服务器无法直接连接到 inte.net。 Hence needed a way to send messages to outside organization kafka cluster.因此需要一种将消息发送到外部组织 kafka 集群的方法。 Please note that we do not want to use kafka rest.请注意,我们不想使用 kafka rest。

Connecting to Kafka is very complex and doesn't support this scenario;连接Kafka非常复杂,不支持这种场景; 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).他们根据代理属性(广告侦听器)发送客户端需要建立的实际连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM