You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- For Atlas, adjust the connection string accordingly.
69
60
- Set replicaSet and authSource as appropriate for your deployment.
70
61
71
62
## 4. Enable Change Streams and Pre/Post Images (Only if Using a Custom Key)
72
63
Change Streams: Required only if you are using a custom key in your RDI pipeline. Change streams are available by default on replica sets, sharded clusters, and MongoDB Atlas.
73
-
Pre/Post Images: If you use a custom keyand want to capture full document changes on updates and deletes, enable pre- and post-images on collections as needed:
64
+
Pre/Post Images: If your RDI pipeline uses a custom key, you must enable pre- and post-images on the relevant collections to capture the document state before and after updates or deletes. This allows RDI to access both the previous and updated versions of documents during change events, ensuring accurate synchronization.
74
65
```javascript
75
66
db.runCommand({
76
67
collMod:"your_collection",
@@ -88,20 +79,15 @@ The root CA certificate for MongoDB Atlas must be added as a SOURCE_DB_CACERT se
0 commit comments