Hello,
I’m currently investigating how to best connect to multiple clusters. Judging from Multiple Clusters and Cluster Connection and https://docs.couchbase.com/c-sdk/current/howtos/managing-connections.html#connection-strings this doesn’t seem to be intended. Do I have to manage this on an application layer? What would you recommend?
Maybe to elaborate a bit - we are looking into improving the availability of our (legacy) services across a state. Meaning that a client shall use the fastest possible connection at a time. For that there a number of Couchbase cluster that can be connected to.
Our current approach is to try a test a connection with a fixed timeout and discard that connection from the comma separated list.
However we observed that only the first entry is really used by the SDK runtime.
Best regards
Magnus