-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi
openbucket is having 2 parameter (username, pwd). its not allowing bucket time out and time units. with out these 2 parameter my services are throwing timeout exception. i have written simple code which is working but not in spring-data-couchbase.
CouchbaseEnvironment env =
DefaultCouchbaseEnvironment
.builder().connectTimeout(10000)
.kvTimeout(5000) //in ms
.build();
Cluster cluster = CouchbaseCluster.create(env,hostIp);
cluster.authenticate(bktName,bktpwd);
Bucket bucket = cluster.openBucket(bktName , bktTimeout, TimeUnit.SECONDS);
Metadata
Metadata
Assignees
Labels
No labels