Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

michals's picture
Asked 4 months 3 weeks ago
Latest activity 4 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 4 months 3 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 4 months 3 weeks ago
Latest activity 4 months 3 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 4 months 4 weeks ago
Latest activity 4 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 4 months 4 weeks ago
Latest activity 3 months 2 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...

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

Pages