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
Copy file name to clipboardExpand all lines: content/integrate/redis-data-integration/data-pipelines/prepare-dbs/mongodb.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ weight: 2
19
19
This guide describes the steps required to prepare a MongoDB database as a source for Redis Data Integration (RDI) pipelines.
20
20
21
21
## Prerequisites
22
-
-**MongoDB version:** 4.0 or later (standalone, replica set, sharded cluster, or MongoDB Atlas).
22
+
-**MongoDB version:** 4.0 or later (replica set, sharded cluster, or MongoDB Atlas).
23
23
-**User privileges:** You must have a MongoDB user with sufficient privileges to read the oplog and collections, and to use change streams (if required).
24
24
-**Network access:** The RDI Collector must be able to connect to all MongoDB nodes in your deployment.
- For standalone or Atlas, adjust the connection string accordingly.
68
+
- For Atlas, adjust the connection string accordingly.
69
69
- Set replicaSet and authSource as appropriate for your deployment.
70
70
71
71
## 4. Enable Change Streams and Pre/Post Images (Only if Using a Custom Key)
72
-
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. For standalone deployments, ensure your MongoDB version supports change streams.
72
+
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
73
Pre/Post Images: If you use a custom key and want to capture full document changes on updates and deletes, enable pre- and post-images on collections as needed:
74
74
```javascript
75
75
db.runCommand({
@@ -114,7 +114,7 @@ Or via the API `/collector/connection/validate` endpoint.
0 commit comments