4,093 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
0
replies
54
views
Efficient way to update 100k–200k Couchbase documents using Java SDK in a transactional setting
I am using the Couchbase Java SDK and need to update a field in a large number of documents (100k–200k).
The update depends on three fields, and I must update a fourth field inside a transactional ...
Best practices
0
votes
2
replies
51
views
What is the most efficient way to validate file data against Couchbase documents using Spring Batch— N1QL timestamp range, KV lookups, or USE KEYS?
I have a validation use-case where an input file contains a list of records that were updated at a certain timestamp. I need to verify that the data in the file matches the data stored in Couchbase.
...
Advice
2
votes
0
replies
25
views
Duplicate events getting streamed to kafka due to the couchbase capella appservices access functions(syncfunctions)in place
We are using an couchbase capella , and we have implemented an source connector to produce the data to a topic when a certain condition is met .whenever there is an insert document or update document ...
2
votes
1
answer
104
views
How to retrieve metrics from Couchbase query with async API?
After I understood how to run queries including to evaluate the metadata in this question I am running into a design flaw:
Instant threshold = Instant.now().minus(retention);
String query = String....
0
votes
2
answers
183
views
Couchbase client fails with OutOfMemoryError on too many waiting threads
I have a Java batch application that performs several processing steps on a Couchbase bucket hosted in a single node cluster. The database is neither big nor required to be lightning fast, just about ...
1
vote
1
answer
87
views
Is it possible to update Couchbase App Services sync functions using the endpoint url and admin credentials [closed]
I’m trying to update a Couchbase App Services sync function from my local machine. The app allows connections from all IPs (0.0.0.0/0). Here’s what I’ve tried:
Using the Admin API over HTTPS (port 443)...
3
votes
0
answers
67
views
CORS issue when syncing PouchDB with Capella [closed]
When trying to sync / replicate PouchDB from Capella (from frontend/browswer), using App Services, we get a CORS Error:
Acces to fetch ____ has been blocked by CORS policy: Response to preflight ...
4
votes
1
answer
159
views
How to retrieve metrics from Couchbase query?
Looking for an async solution? Look here. Otherwise read on.
I am trying to delete documents that have expired via a query. I am not using Couchbase's feature of expiring documents as I need better ...
1
vote
2
answers
123
views
Couchbase query where flag must not be true
I have documents in Couchbase that contain data like this:
{
"name": "doc1",
"is_deleted": true
}
{
"name": "doc2",
"is_deleted"...
1
vote
0
answers
70
views
Couchbase Java SDK - Warning During Initialisation
I am getting this one warning during the initialization of my Spring Boot application.
2025年06月19日 13:22:15:458 [main] DEBUG c.c.c.c.d.i.n.u.i.PlatformDependent0 - [MessageId: ] - [TraceId: ] - -Dio....
0
votes
0
answers
34
views
Kafka Connector Error while parsing the data from couchbase
I have defined a Kafka Connector using CouchbaseSourceConnector. In the config i haven't specified any partitioning as such, however when the connector is running i am getting following error
java....
1
vote
0
answers
66
views
Could not find native build for Couchbase with bun
while trying to build a docker image for my Bun project, I get the following error:
2025年05月07日 15:22:07 error: Could not find native build for platform=linux, arch=arm64, runtime=napi, nodeVersion=22....
1
vote
1
answer
74
views
Why does an array in a couchbase document throws exception when count of array reaches to 8?
I am using Couchbase to store user data.
Couchbase version:
Current Version
Couchbase Server Community Edition 7.2.2 build 6401
and nuget packages:
<PackageReference Include="Couchbase....
1
vote
1
answer
122
views
Node.js can’t find module on new machine (works on my old computer) npm install had no errors
npm install couchbase --save completes. I get the following error about the missing module when I run npm start. The file it complains about can be found in the d: location it complains about, but ...
1
vote
1
answer
37
views
Couchbase TestContainer with Transactions
My issue is with the TestContainer behavior.
I am trying to test my code in couchbase testcontainer but facing certain anomaly.
My main part of code
public void execute() {
boolean success ...