jdbc: support cluster client as the transport
Opened this issue · 3 comments
Totktonada commented
jdbc: support cluster client as the transport
Totktonada commented
I guess this should be simpler now, after #163.
nicktorwald commented
Agreed. Because a Tarantool client is behind a SQLConnection, we need to elaborate on how a user can pass an initial set of Tarantool instances as well as parameters specific to the cluster config such as discovery function or discovery delay.
I'd consider doing that via a connection string like jdbc:taramtool://host1:port1,host2:port2?clusterDiscoveryFunction=abc&clusterDiscoveryDelayMs=60000&otherParams
.
Totktonada commented
I think we should allow to pass all parameters (as usual as well as cluster ones) via properties and URI both.