Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
On this page https://docs.couchbase.com/java-sdk/2.7/client-settings.html, the client settings code sample is using a deprecated method and needs to be updated to the current way to set kv endpoints.
CouchbaseEnvironment environment = DefaultCouchbaseEnvironment
|
.builder()
|
.kvEndpoints(2) |
.build();
|
DefaultCouchbaseEnvironment.builder().kvEndpoints() is deprecated. See here: https://docs.couchbase.com/sdk-api/couchbase-core-io-1.7.3/com/couchbase/client/core/env/DefaultCoreEnvironment.Builder.html?is-external=true#kvEndpoints-int-
Attachments
Issue Links
- relates to
-
DOC-5136 needs a better discussion on kvEndpoints
- Resolved