Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
-
SDK12: Scp Fnc, FIT, Misc
Description
Suggested Release Note:
Static methods that return new config builders (like `TimeoutConfig.builder()` and `TimeoutConfig.kvTimeout(Duration)` to name just two) are now deprecated. Here is an example of the recommended way to configure client settings:
Cluster cluster = Cluster.connect(
connectionString,
ClusterOptions.clusterOptions(username, password)
.environment(env -> env
.timeoutConfig(timeout -> timeout
.kvTimeout(Duration.ofSeconds(3)))
)
);
I believe this primarily affects the Java SDK, and probably doesn't need to be mentioned in the Scala or Kotlin release notes.