Hi, is connecting to multiple clusters using the same java FDB instance possible e.g. using createCluster(java.lang.String clusterFilePath) to create 2 separate cluster instances? Thanks
Yes, you can connect to multiple clusters in the same instance using multiple calls to createCluster (or the more typically used FDB.open method).
If the clusters are running at multiple incompatible versions, you would need to use the multi-version client to be able to connect to them.
1 Like
Great news thank you.
createCluster()
was deprecated in favor of the FDB.open()
function, which is still available and can be used in a similar way for this purpose.