Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

dinesh_sling's picture
Asked 4 months 3 weeks ago
Latest activity 4 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 4 months 3 weeks ago
Latest activity 4 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 4 months 4 weeks ago
Latest activity 4 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 5 months 2 min ago
Latest activity 4 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 5 months 14 hours ago
Latest activity 4 months 4 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 5 months 22 hours 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 5 months 1 day ago
Latest activity 4 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 5 months 4 days ago
Latest activity 4 months 4 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 5 months 4 days ago
Latest activity 3 months 1 week 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...

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

Avoid cascading failures

Hi,

I'm running a tracker service based on play framework, see http://www.playframework.com/ and use couchbase to store the trackings.

I have noted some problems with cascading errors where a single error can mean that the system gets...

Pages