You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Sasikumar Senthilnathan (Jira)" <ji...@apache.org> on 2020/11/11 09:48:00 UTC

[jira] [Created] (KAFKA-10707) Socks Proxy is not taking effect in Java API

Sasikumar Senthilnathan created KAFKA-10707:
-----------------------------------------------

             Summary: Socks Proxy is not taking effect in Java API
                 Key: KAFKA-10707
                 URL: https://issues.apache.org/jira/browse/KAFKA-10707
             Project: Kafka
          Issue Type: Bug
          Components: clients, consumer, producer 
    Affects Versions: 2.5.0
            Reporter: Sasikumar Senthilnathan


Am trying to establish a connection via SOCKS proxy(SOCKS5) from Kafka Client.

Do we have any way to set the SOCKS proxy via Java client?

I have tried setting it via java args as below

 
java -cp ".:BOOT-INF/lib/*" Sample -DsocksProxyHost=xxxx -DsocksProxyPort=1080 -DsocksNonProxyHosts="xxxxx"
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)