Configure groups of sync subscriptions to control what data your Edge Server synchronizes from the mesh network
SyncSubscriptionGroup
resource allows you to apply multiple subscriptions to one or more
databases. Subscriptions use Ditto Query Language (DQL) to specify exactly which
documents to sync, helping optimize bandwidth and storage usage.
Field | Type | Description |
---|---|---|
resource_type | string | Must be "SyncSubscriptionGroup" |
db_ids | array[string] | List of database IDs (UUIDv4 format) this subscription group applies to (minimum 1) |
subscriptions | array | List of DQL subscriptions to apply (minimum 1) |
subscriptions
array can be either:
DittoDatabase
resource configuration:
db_id
s are correct:
SyncSubscriptionGroup
to logically group related subscriptions that should be applied together.
SyncSubscriptionGroup
resources for the same database to organize different sync patterns.args
object supports various data types including strings, numbers, booleans, arrays, and nested objects.DittoDatabase
resource or in separate SyncSubscriptionGroup
resources. Use groups when you want to apply the same subscriptions to multiple databases.