Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
0
-
SDK49
Description
Suggested release note:
`Cluster.connect` now throws an `IllegalArgumentException` if you pass a pre-built `ClusterEnvironment` and a connection string incompatible with the environment.
- A pre-built environment without TLS enabled is incompatible with a connection string that specifies the secure `couchases` scheme.
- A pre-built environment is incompatible with a connection string that has parameters.
Before this change, an incompatibility was logged as a warning, and the connection string scheme and parameters were ignored.
`ConnectionStringIgnoredEvent` is now deprecated, since the SDK never publishes it anymore.
Attachments
Issue Links
- relates to
-
SCBC-382 Throw exception instead of ignoring connection string scheme or parameters
- Closed
Gerrit Reviews
For Gerrit Dashboard: JCBC-2028 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
183520,2 | JCBC-2028 Throw exception instead of ignoring connection string scheme or parameters | master | couchbase-jvm-clients | Status: MERGED | +2 | +1 |