Is it possible to sync from multiple buckets into 1 app

I’m following the microservices structure resulting to have multiple buckets for 1 application.

Now we are going to have an offline feature and decided to use couchbase sync gateway.

Is it possible to sync from multiple buckets into 1 app? How to achieve this in terms of sync gateway configuration?

A server bucket maps to a Couchbase Lite database. So if you want to sync multiple server buckets, you’ll have multiple databases in Couchbase Lite. Each one needs to be synced independently, by creating a replicator for each one.

This may not be what you want, because CBL databases are completely independent of each other. Most importantly, you can’t write a query across multiple databases.

You cannot join databases on CBL like joining buckets on N1QL?

Is it impossible to pull off this method?

Yes, that’s what I said.