File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/integrate/redis-data-integration/data-pipelines/prepare-dbs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
Title : Prepare MongoDB for RDI
3
- aliases : /integrate/redis-data-integration/ingest/data-pipelines/prepare-dbs/sql-server /
3
+ aliases : /integrate/redis-data-integration/ingest/data-pipelines/prepare-dbs/mongodb /
4
4
alwaysopen : false
5
5
categories :
6
6
- docs
@@ -32,7 +32,7 @@ db.printReplicationInfo();
32
32
```
33
33
- Resize the oplog (run on the PRIMARY):
34
34
``` bash
35
- $ mongod --replSet < replSetName> --oplogSize < sizeInMB>
35
+ mongod --replSet < replSetName> --oplogSize < sizeInMB>
36
36
```
37
37
38
38
## 2. Create a MongoDB User for RDI
@@ -94,7 +94,7 @@ Example connection string for Atlas:
94
94
## 7. Test the Connection
95
95
You can test the connection using the RDI CLI or API:
96
96
``` bash
97
- $ redis-di pipelines validate-source --db-type mongodb \
97
+ redis-di pipelines validate-source --db-type mongodb \
98
98
--connection-string " mongodb+srv://rdi_user:rdi_password@cluster0.mongodb.net/?authSource=admin&tls=true"
99
99
```
100
100
Or via the API ` /collector/connection/validate ` endpoint.
You can’t perform that action at this time.
0 commit comments