Questions tagged [couchbase-sync-gateway]

Couchbase Sync Gateway is an add-on that enables Couchbase Server 2.0 and later to act as a replication endpoint for Couchbase Lite. Sync Gateway runs an HTTP listener process that provides a passive replication endpoint and uses a Couchbase Server bucket as persistent storage for all database documents.

Couchbase Sync Gateway is an add-on that enables Couchbase Server 2.0 and newer versions to act as a replication endpoint for Couchbase Lite. Sync Gateway runs an HTTP listener process that provides a passive replication endpoint and uses a Couchbase Server bucket as persistent storage for all database documents.

Resources:

230 questions
0
votes
2 answers

Couchbase Lite pull replication

I've got android and web apps. Android app uses Couchbase Lite, web app uses Couchbase. I'm using Couchbase Sync Gateway to enable data replication between those two databases. So far it works ok for sending data from mobile and receiving it both in…
Mohru
  • 725
  • 1
  • 7
  • 17
0
votes
1 answer

couchbase Sync gateway fails to connect in android

I have been trying to run a Grocery-sync couchbase androi demo on Windows machine. I have download the Sync-Gateway from Couchbase mobile. While running this demo I am able to insert an Item in local Cblite. But It doesn't pull any docs from the…
Sagar Shah
  • 4,272
  • 2
  • 25
  • 36
0
votes
1 answer

Couchbase lite Android - no documents in bucket

I have downloaded GrocerySync (Android) and Run the app both on device and emulator It working as should be, sync working is fine. But I have following doubts, 1)Where data is getting stored?How to check? 2)No data bucket is created (with given…
Joe
  • 550
  • 2
  • 11
  • 21
0
votes
1 answer

CouchDB Sync not happening in GrocerySync-Android application

I am new to couchDB,As a starting point I downloaded GrocerySync-Android and try to run on device(Samsung Galaxy S4) but data sync is happening. This is what tried, 1)I have created "grocery-sync" in Data Buckets (couchbase-server) 2)I have changed…
Joe
  • 550
  • 2
  • 11
  • 21
0
votes
0 answers

Pull replication(or sync) fails with remote sync gateway

I am currently working on a PoC to understand the CouchBase lite sync functionality(with Java application). The pull and push replication worked absolutely fine when the sync-gateway was running locally on my machine. Now when I move my…
Dnavir
  • 556
  • 3
  • 11
0
votes
1 answer

Spark Couchbase connector DCP

I wanted to know if the DCP based streaming is stable in Spark Couchbase Official Connector? The documents state that they aren't ready to be used in production as yet. Do we have any examples for Java? Also, if someone could shed some light on the…
Sagar
  • 229
  • 4
  • 14
0
votes
2 answers

How to keep replicated revision during couchbase replication?

In my android app i have setup pull replication with sync_gateway. Due to the specific app's logic, whenever a conflict is detected, i need to keep just the document revision replicated from the server. I'm able to define which conflicting version…
0
votes
1 answer

Pouchdb doesn´t recognize a different user

I am using PouchDB 5.3 with Couchbase Sync Gateway 1.2, with the sync function. If I login using a user that has access to 2500 documents, it sync them to my device, but, if I logout and login with the other user, that has access to only 1 document,…
todotresde
  • 1,770
  • 2
  • 19
  • 25
0
votes
1 answer

Notification Worker in Couchbase Lite for GCM

I am implementing Couchbase lite with my Android app and I found that the better way to use Couchbase lite sync for pull is to use GCM and not the continuous pull. I was going through the tutorial here and the same app's repo is here. As mentioned…
0
votes
1 answer

Couchbase Sync Gateway: Multiple buckets per database

I've stared to build a service with CouchDB. The app is designed for users to have unlimited buckets for several reasons and it worked perfectly. Now i've switched to Couchbase because of some enterprise features. I'm using PouchDB that's why I need…
wintercounter
  • 7,500
  • 6
  • 32
  • 46
0
votes
2 answers

Couchbase Sync gateway on Windows

I installed sync_gateway for windows from http://www.couchbase.com/nosql-databases/downloads. I am trying to execute command sync_gateway config.json but it gives me an error. How to execute config.json to sync data with android device. My…
user5665440
0
votes
1 answer

Android:How to use Couchbase REST API in android application?

I am new to android and couchbase.I am developing an android application where i need to call Couchbase REST API but i cant find any sample code for that.so please help me how to call couchbase REST API in android applicatin I have already referred…
0
votes
1 answer

Couch Sync Gateway with OrientDB

I have a cluster of nodes using OrientDB distributed database and I would like to be possible to make querys against this database with Android terminal using Couchbase Lite. Could be possible make sincronitation using Couch Sync Gateway? I would…
0
votes
1 answer

Couchbase,Where to add config.json for windows Installation?

I am trying to implement Couch base in my android app following the couchbase tutorial link here I need to add a config.json file to create my own database link rather than using its default database "Sync_gateway".According to explanation it should…
theUturn
  • 1,101
  • 2
  • 12
  • 25
0
votes
1 answer

Couchbase Sync Gateway - limit on number of channels?

Does it make sense to define a channel per 1-4 documents? The use case I am trying to solve is synching user's accounts between different devices of the same user: For example lets say I have 1 million docs (accounts) in my bucket, then defining…
belostoky
  • 934
  • 2
  • 11
  • 22