Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

vladif86's picture
Asked 7 months 5 days ago
Latest activity 7 months 5 days ago

Using Couchbase memcached in Java

Hi All,
We're planing using the memcached of Couchbase. Accessing the memcached is from Java
What's memcached client do you recommend to use for this?
Are there examples/links of using it with Couchbase?

Thank you in advance,
Vladi

katzshay's picture
Asked 7 months 1 week ago
Latest activity 7 months 6 days ago

Storm + java sdk

Hi,

I'm trying to execute some couchbase scenario with storm.
My couchbase client is singleton.
I have 2 bolts that using this client.
During the execution I'm getting the following exception:
Caused by: java.lang.IllegalStateException: Interrupted while waiting to...

sivasena's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 6 days ago

regarding Java TAP API

Hi All,

I'm able to configure an TAPClient to a Couchbase server bucket and receiving the update notifications from the same. Below is the piece of Java code i have written:
========================================================================
URI base = new URI("...

Nakshathri's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 3 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 7 months 3 weeks ago
Latest activity 7 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 7 months 3 weeks ago
Latest activity 7 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 7 months 4 weeks ago
Latest activity 7 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 7 months 4 weeks ago
Latest activity 7 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 6 hours ago
Latest activity 7 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 8 months 15 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.

Pages