Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

Nakshathri's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 2 weeks ago

Error while saving the Document in Couchbase : Cannot cache data larger than 20971520 bytes

Hello All,

We are using couchbase (Couchbase Buckets connecting through Java Client) extensively for storing user documents across our multiple applications. From the looks of the error we are getting, exception is very straight forward wherein it says the document what we are trying to...

dinesh_sling's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 weeks ago

Couchbase library giving exceptions during load

Hello,

We are using couchbase v2.1.1 community edition for storing about 4 Million documents.

We access it using Couchbase Java library v1.2.2

During high load of around 6000 requests / second, Couchbase library is throwing below mentioned exceptions;

...

michals's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 2 weeks ago

Failed to connect to couchbase with new client

Hi, I am working with:
spymemcached-2.10.2, couchbase-client-1.2.2, couchbase server 2.1.1
But when I try to create a couchbase client and connect to couchbase through the java code i get this error:
java.lang.IllegalArgumentException: Reconfigurable cannot be null and must...

sivasena's picture
Asked 8 months 4 weeks ago
Latest activity 8 months 3 weeks ago

regarding document updates notification

Hi All,

We have a requirement to track all document updates of a particular bucket. But because of the rate at which the documents are updating and the number of documents in the bucket we have to avoid the usage of views for this.

We can make use of JAVA TAP API for this but the...

MikeOliverAZ's picture
Asked 8 months 4 weeks ago
Latest activity 8 months 4 weeks ago

is there any way to speed up a view query

I have a view...

function (doc, meta) {
  emit(doc.eventKey, null);
}

and a java method to access it...

...
michals's picture
Asked 8 months 4 weeks ago
Latest activity 8 months 3 weeks ago

Writing to a different bucket than default does not work

Hi.
I am using couchbase-client-1.0.2 and couchbase 2.1.1
When i try to connect and write to a bucket other then the one called "default"
it still writes to "default".
Here is the code i use to connect:

...
rajvaida's picture
Asked 8 months 4 weeks ago

JAVA Tap Stream listener

Hi

I am trying to implement a listener to get Couchbase Document IDs using TAP. On selection of a specific ID, I'd like to see full state of the entity and capture all changes of the document. Eventually I'll push them into a bucket.

MikeOliverAZ's picture
Asked 8 months 4 weeks ago
Latest activity 8 months 4 weeks ago

Is it worth it, serialized pojo or straight json?

I am trying to squeeze out the last little bit of performance from a backend pipeline application. I am storing rules in Couchbase. These rules are simple POJOs with mostly name value pairs serialized with GSON to store in couchbase.

I query a view and get a response with rows....

tamazero's picture
Asked 9 months 3 days ago
Latest activity 8 months 3 weeks ago

Query data inside couchbase

There is a little but complete example showing how use couchbase with elasticsearch in java ?

Best regards
Fabio

petter's picture
Asked 9 months 3 days ago
Latest activity 7 months 5 days ago

Server down causes java.lang.StackOverflowError after failover

Running a system with 4 servers nodes.

Java application using spymemcached-2.10.2 and couchbase-client-1.2.2

We see following problem:
1. We force one node down
2. We can see some "OperationTimeoutException" in our java application
3. After 30s Auto-Failover kicks...

Pages