Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

rajvaida's picture
Asked 8 months 5 days 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 5 days ago
Latest activity 8 months 4 days 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 8 months 1 week ago
Latest activity 8 months 3 days 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 8 months 1 week ago
Latest activity 6 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 8 months 2 weeks ago
Latest activity 4 months 1 day 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...

parjog's picture
Asked 8 months 2 weeks ago
Latest activity 8 months 2 weeks ago

documents not available for Views immediately after insert

I insert documents into the buckets and on running views immediately after insertion, I get a RuntimeException: Timed out waiting for operation.
When I stop my program and run the operation, I immediately get the results.
Any way to get it to work in the same run?

MikeOliverAZ's picture
Asked 8 months 3 weeks ago
Latest activity 6 months 1 week ago

is port 9091 fixed?

I have two applications that seem to have port 9091 fixed, Torch Torents and Couchbase server.

Can I configure Couchbase on a port other than 9091?

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

storing document with key string but not finding it

Ok I am using the couchbase client in a couchbase bucket.

I have a pojo that is serializable. Everything is working fine, the document is stored but not where I thought it would.

client is initialized to localhost default bucket.

...
Andreas Kündig's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 weeks ago

Can a row returned by a view be null? Can its document?

I have a NullPointerException that happens sometimes on the first line of this loop,

    ViewResponse rows = this
...
couchbase-user's picture
Asked 8 months 3 weeks ago

Using Couchbaseclient.getstats(statsname) to get specific statistics only

Hi there,

I'm trying to collect specific statistics about the execution of couchbase operations and times but yet struggling to find the right function to do this.

The latest thing I tried was Couchbaseclient.getstats() that returns about two pages for every server in my cluster...

Pages