Change Feed CDC
Tail the Cosmos DB change feed for inserts and updates in near real time. No Kafka or Debezium to operate — the feed is read directly through the Cosmos SDK.
Native change feedReal Database & Container Hierarchy
Cosmos DB has genuine databases and containers, unlike some NoSQL sources — NoSQLSync lists your actual databases and containers instead of a single placeholder.
No guessworkSchema Discovery
Cosmos items within a container can carry different fields. NoSQLSync samples items to build a complete schema covering every observed field.
Union schemaType Coercion Engine
Cosmos JSON types map cleanly to SQL: string → TEXT, number → INTEGER/DOUBLE, boolean → BOOLEAN, array/object → JSONB.
Auto type mappingIncremental Sync
Migrate historical data in bulk via cross-partition query, then keep new writes in sync via the change feed. Works with containers of any size.
Bulk + streamingHonest CDC Scope
The change feed's default mode surfaces inserts and updates, not deletes. Run a fresh full sync to reconcile deletions — stated plainly rather than left undocumented.
No dual-write, no fabricated featuresThree steps to PostgreSQL
Type mapping: Cosmos DB → PostgreSQL
Frequently asked questions
Not currently. Cosmos DB's default change feed mode (the one NoSQLSync uses) surfaces inserts and updates only — deletes require a separate "all versions and deletes" mode with continuous backups enabled on the account. Run a fresh full sync to reconcile any deletions in the meantime.
The Core (SQL) API — the native Cosmos document API, using the change feed and cross-partition queries described above. Cosmos DB for MongoDB API is a separate wire-protocol compatibility layer with its own change-stream behavior, and isn't covered by this connector.
Yes. Choose which database and container to migrate — NoSQLSync lists your real Cosmos databases and containers, not a placeholder. Each container becomes a separate SQL table.
A typical 100 GB dataset migrates in under 2 hours with bulk mode. With CDC enabled, ongoing writes sync in real time. Total time depends on data volume and network throughput.
Yes. All data is encrypted in transit (TLS 1.3) and at rest (AES-256). Database credentials use short-lived tokens. Migration workers run in an isolated environment and never store data after the job completes.
Yes. NoSQLSync only reads from your source — it is never modified, and CDC keeps running until you stop it. If you hit a problem after cutover, point your application's connection string back at the source.
Ready to migrate to PostgreSQL?
Connect your Cosmos DB and PostgreSQL instances. No credit card required.