im trying to connect couchbase server via proxy. how do i set the proxy? i can access the web browser port 8091 using some browser proxy. but how do that using java. i tried setting http.proxyHost and http.proxyPort as env args. im getting connetcion time out.
@ebs_cbn proxies are not supported in this setup. The server cluster then returns the SDK a config map which contains the hostnames for it to contact going forward, so even if you could establish the initial attempt through a proxy the rest wouldn’t work.
But if surface of the Couchbase API is not large, you probably can build your own proxy using Java SDK, just expose whatever data functions you need and the SDK will take care about all couchbase details.