Skip to content
CDC source and replication target

MongoDB
change data capture

TwinCommit captures changes from MongoDB by reading its transaction log directly, then delivers each committed transaction exactly once to any supported target. Change streams in, transactional bulk upserts out.

MongoDB

MongoDB 5.0–8.x · MongoDB Atlas · replica sets and sharded clusters

  • ✓Replica set or sharded cluster (change streams need an oplog)
  • ✓changeStream and find privileges on watched databases
  • ✓Pre- and post-images enabled for full before/after values (optional)

Capture

How TwinCommit reads MongoDB

TwinCommit opens change streams on replica sets and sharded clusters, persists resume tokens with the checkpoint, and keeps multi-document transactions intact.

MongoDB source docs →

Apply

How TwinCommit writes to MongoDB

Relational rows become documents keyed by primary key and are written with bulkWrite upserts inside MongoDB transactions, together with the checkpoint.

MongoDB target docs →

MongoDB connector FAQ

Which MongoDB versions does TwinCommit support?

+

MongoDB 5.0–8.x · MongoDB Atlas · replica sets and sharded clusters.

Does TwinCommit install anything in MongoDB?

+

No. TwinCommit reads the MongoDB log and creates no triggers, tables or procedures in the source database.

How does TwinCommit write to MongoDB?

+

Relational rows become documents keyed by primary key and are written with bulkWrite upserts inside MongoDB transactions, together with the checkpoint.

Replicate your first table in five minutes.

Download the free Developer edition, or have one of our replication engineers walk you through a migration plan.