________________________________
From: Jay Allen <jayalle...@gmail.com>
Sent: Friday, July 28, 2017 12:09 PM
To: users@kafka.apache.org
Subject: Socks proxy

Hey guys,

We're trying to use the Java Kafka client but it turns out it's not socks
proxy aware - the connect uses a SocketChannel that does not work with
proxies -
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/network/Selector.java
[https://avatars3.githubusercontent.com/u/47359?v=4&s=400]<https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/network/Selector.java>

apache/kafka<https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/network/Selector.java>
github.com
kafka - Mirror of Apache Kafka




Any ideas how to use the official Java client with a socks proxy?

MG>most installations wont pass SOCKS request directly to internal webapp(s)
MG>if you do pass SOCKS requests to webapp(s) ..you would need to configure 
socks-proxy for ESB, SOAPserver, MVCApp and Kafka
MG>it would be less complex to FE all your webapps with dirt-simple NPM 
proxy-agent (as part of firewall strategy)
https://www.npmjs.com/package/proxy-agent

MG>if udp is your requirement check out SS5 from sourceforge
http://ss5.sourceforge.net/
SS5 Socks Server<http://ss5.sourceforge.net/>
ss5.sourceforge.net
Description. SS5 is a socks server that implements the SOCKS v4 and v5 
protocol. As a proxy server, SS5 authenticates, profiles and processes network 
requests for ...



<https://www.npmjs.com/package/proxy-agent>
[https://www.npmjs.com/static/images/touch-icons/open-graph.png]<https://www.npmjs.com/package/proxy-agent>

proxy-agent - npm<https://www.npmjs.com/package/proxy-agent>
www.npmjs.com
proxy-agent Maps proxy protocols to http.Agent implementations. This module 
provides a function that returns proxying http.Agent instances to use based off 
of a given ...




Thanks!
Jay

MG>HTH
MG>Martin-

Reply via email to