We have been running into an issue where we need to run the PubSubSourceConnector behind a company Proxy to pull messages from our GCP PubSub topics into our on premise Kafka. We have tried setting the JVM parameters in order to set the proxy settings, e.g.
“-Dhttp.proxyHost= -Dhttp.proxyPort= -Dhttps.proxyHost= -Dhttps.proxyPort= -Dhttp.nonProxyHosts=”
However it seems that the nonProxyHosts jvm parameter is not being honored by the connector, as a result it tries to use the proxy for all hosts including our on prem license server etc.
Is this a bug similar to the snowflake kafka connector one fixed here? Where they were not passing the nonProxyHosts through to the underlying connection properties? Snowflake Community
Or are we doing something wrong and nonProxyHosts is working for this connector.