# configure proxy in kafka connector

**URL:** <https://community.solace.com/t/configure-proxy-in-kafka-connector/4184>\
**Category:** Connectors & Integrations\
**Tags:** solace-cloud, solacepubsub\
**Created:** [April 24, 2025, 1:03pm UTC](https://community.solace.com/t/configure-proxy-in-kafka-connector/4184 "2025-04-24T13:03:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiKrishna](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/saikrishna/32/2242_2.png) [@SaiKrishna](https://community.solace.com/u/SaiKrishna)\
**Post date:** [April 24, 2025, 1:03pm UTC](https://community.solace.com/t/configure-proxy-in-kafka-connector/4184/1 "2025-04-24T13:03:07Z")

</div>

We are running **Kafka Connect inside Kubernetes** and using the **Solace Source Connector** to ingest messages from a **Solace Cloud queue** into a Kafka topic.

However, our environment requires outbound access through a **proxy** , and We are hitting roadblocks when trying to connect to Solace Cloud over `tcps` (TLS/SSL-secured Solace connections).

When using an **HTTP proxy** , I was able to get **partial responses** from Solace Cloud using:  
curl --proxy {host}:{port} https://{solace-host}:{port} -o -

Since the Solace Source Connector requires a **`tcps://` (TLS secured)** connection, and the proxy team only allows outbound `tcps` via a **SOCKS5 proxy**

curl --socks5 {host}:{port} https://\<{solace-host}:{port} -o -  
curl: (7) Failed to connect to port {port}: Connection timed out

We also updated the connector config to enable SSL, and added truststore:  
“sol.ssl\_trust\_store”: “{trust\_store}”,  
“sol.ssl\_trust\_store\_password”: “{pwd}”,  
“sol.ssl\_trust\_store\_format”: “jks”,  
“sol.ssl\_key\_store”: “{key\_store}”,  
“sol.ssl\_key\_store\_password”: “{pwd}”,  
“sol.ssl\_key\_store\_format”: “jks”,  
“sol.ssl\_private\_key\_alias”: “{key\_alias}”,  
“sol.ssl\_private\_key\_password”: “{pwd}”

We have tried the following things from our side, but not able to connect with any of them, still we are getting timeout errors.

Added -Dhttp.proxyHost={host} -Dhttps.proxyHost={host} -Dhttps.proxyPort={port} -Dhttp.proxyPort={port} JVM arguments  
Added -DsocksProxyHost={host} -DsocksProxyPort={port} -DproxySet=true Arguments  
Tried with -Dsolace.proxy.type=socks5 -Dsolace.proxy.host={host} -Dsolace.proxy.port={port}

Has anyone successfully configured **Kafka Connect + Solace Source Connector** over **SOCKS5** with `tcps`?

If anyone has solved this, I’d love to collaborate.

Thanks& regards

---

<div class="post-metadata">

**Author:** ![Solly-AI](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/solly-ai/32/2305_2.png) [@Solly-AI](https://community.solace.com/u/Solly-AI)\
**Post date:** [April 24, 2025, 1:03pm UTC](https://community.solace.com/t/configure-proxy-in-kafka-connector/4184/2 "2025-04-24T13:03:48Z")

</div>

**Hi there, I’m Solly AI, I generate responses to your questions using the power of the [Solace Agent Mesh](https://github.com/SolaceLabs/solace-agent-mesh)**:

**Please remember that AI technology can make mistakes so ensure that you read our [Disclaimer](https://docs.solace.com/docs-ai-disclaimer.htm).**

**AI Generated responses are a work in progress, your help in evaluating my response would be awesome! If my response makes sense, please mark it as a solution or give a 👍. If my response doesn’t make sense for your topic, please react to it with a 🫨.**

Looking at the provided documentation, I can help analyze the requirements for configuring Solace Source Connector with TCPS through a SOCKS5 proxy in Kubernetes.

The documentation shows that:

1. For Kubernetes deployments, proxy configuration is supported for HTTP/HTTPS protocols
2. The documentation specifically mentions support for authenticated and non-authenticated HTTP proxies, tested with Squid and Zscaler
3. For proxy support, the proxy must support:
  - HTTP CONNECT
  - Proxying to non-443 ports (specifically port 55443)

4. If using SSL inspection in the proxy, it must be disabled for regional hostnames

However, there is no explicit information in the provided documentation about:

- Configuring SOCKS5 proxy support
- Specific configuration steps for Solace Source Connector with TCPS through a proxy
- Integration between Solace Source Connector and proxy configurations in Kubernetes

Given the limited information available in the provided documentation, I cannot provide a complete answer about configuring Solace Source Connector to use TCPS through a SOCKS5 proxy in Kubernetes. You may want to check the following documentation sources for more details:

- [Using HTTP/HTTPS Proxies](https://docs.solace.com/Cloud/Deployment-Considerations/k8s-using-proxyservers.htm)
- [Connectivity Model for Kubernetes Deployments](https://docs.solace.com/Cloud/Deployment-Considerations/connectivity-model-k8s.htm)
