Skip to content

Commit

Permalink
source-mongodb: make it explicit that we require database permission
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Jan 12, 2024
1 parent 91e9f39 commit 16a5ee5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site/docs/reference/Connectors/capture-connectors/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ You'll need:
reliability, and possibility of capturing multiple databases in the same
task. However, if access to all databases is not possible, you can
give us access to a single database and we will watch a change stream on
that specific database.
that specific database. Note that we require access on the _database_ and
not individual collections. This is to so that we can run a change stream on
the database which allows for better consistency guarantees.

In order to create a user with access to all databases, use a command like so:
```
Expand All @@ -44,7 +46,7 @@ You'll need:
})
```
If you are using a userw ith access to all databases, then in your mongodb
If you are using a user with access to all databases, then in your mongodb
address, you must specify `?authSource=admin` parameter so that
authentication is done through your admin database.
Expand Down

0 comments on commit 16a5ee5

Please sign in to comment.