Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

ielia's picture
Asked 6 months 4 days ago
Latest activity 5 months 6 days ago

CouchbaseConnectionFactory.updateStoredBaseList hard-coded administration port

Dear all,

I've noticed there is a "8091" hard-coded in CouchbaseConnectionFactory.updateStoredBaseList(Config). I have started a server on a remote host on port 10091 and I cannot make it work due to this piece of code:

...
sivasena's picture
Asked 6 months 1 week ago
Latest activity 6 months 4 days ago

getAndLock in JAVA

Dear All,

I'm currently exploring document locking using "getAndLock("Key", timeOut)" method, but unfortunately i'm not able to lock the document. Below is the piece of the code i have written:

=================================================================
List uris = new...

phongn17's picture
Asked 6 months 1 week ago
Latest activity 5 months 3 weeks ago

Using Java Couchbase Client 1.2.0 to access to Couchbase Community 2.1.1 on AWS does not work

When trying to connect to Couchbase on AWS using Using Java Couchbase Client 1.2.0, I always got an exception of java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.encodeBase64String...
I noticed that AWS uses an older version commons-codec-1.3.jar while Couchbase Client 1...

cadams's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

CAS with non-existent key giving OK vs NOT_FOUND

If I submit a cas with a non-existent key I would expect to receive CASResponse.NOT_FOUND but am receiving CASResponse.OK instead. Is this a bug? The use case is a test we created for a cas operation on either a non-existent key or a key that has expired from the cache.

Couchbase Java...

vakoroteev's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 day ago

Reconnection of client after node wake up.

I'm studying the following scenario: while get/set operations to Couchbase I shutting down node(power off on virtual machine). After that, I power on the machine and waiting for Couchbase node recovery. When node's status changing to "healthy" I expect that client reconnect and get/set...

dharrigan's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Pattern Match Complex Key

Hi,

Say I have a map function thus:

function (doc, meta) {
   emit([doc.username,doc.createdDateTime]);
}

which produces keys in the format of:

...
darksun's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

MapReduce questions

I'am new to MapReduce, using the Java 1.1.9 SDK

 
View view = client.getView
...
dharrigan's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Couchbase Java SDK 1.2?

Hello,

Does Couchbase Java Client 1.2.0 equate to the Java SDK? I see 1.1.9 on Maven, but not 1.2 which has been out since September 13...

-=david=-

indranil32's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Couchbase CouchbaseConnectionFactoryBuilder configuration for sites with concurrent traffic of around 4000

We are using couchbase server 2.0.0 [Java SDK 1.1.8] for a Rest based web-service. We are supposed to support a benchmark of 4000 concurrent requests.

Right now we are testing with all async-operations for add/get and default ConnectionFactory. We are running into TImeout issues and...

cadams's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Couchbase and JSR-107

When I look at JSR-107 it seems apparent that the spec was designed for read-through / write-through caches and that the Cache API itself does not support ttl/expiry at the operation level which is a fundamental aspect of Couchbase operations, but I would like to understand Couchbase's specific...

Pages