Skip to content

[Drift] Experimental Azure Cosmos DB for MongoDB vCore support as replication source (powersync-service #605) #424

@benitav

Description

@benitav

What shipped: Experimental support for Azure Cosmos DB for MongoDB vCore has been added as a PowerSync replication source. The service auto-detects Cosmos DB connections and applies compatibility workarounds for its differences from standard MongoDB (second-precision wall-time timestamps, no post-images, no DDL events, custom sentinel checkpoint resolution, cluster-level change streams).

Why this needs docs: New addition — a new source database option is now available experimentally, with known limitations and behavioral gaps that users must understand before using it in production.

Likely affected pages/sections:

  • Supported source databases / database connectors overview — add Azure Cosmos DB for MongoDB vCore as an experimental entry with a link to known limitations
  • MongoDB connector setup page — add a Cosmos DB compatibility section noting: post-images are not supported (updateLookup used instead), DDL events (drop/rename) are not emitted, large record splitting ($changeStreamSplitLargeEvent) is not supported, and wall-time precision means second-level LSN resolution only
  • Self-hosting configuration reference — note any Cosmos DB-specific connection string format or configuration differences

Source PR: powersync-ja/powersync-service#605

CC: @benitav @Sleepful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions