Sources
MongoDB
Configuration
To set up the MongoDB source, provide the following configuration parameters:
Key | Description | Sample Value |
---|---|---|
database | Name of the database you want to read data from. | company |
host | Hostname of your MongoDB server. | 127.0.0.1 |
password | Password for the user to access the database. | abc123... |
port | Port on which MongoDB is running (typically 27017 ). | 27017 |
user | Username that will access the database. | admin |
replica_set | (Optional) Name of the replica set, if any. | optional |
ssl | (Optional) Use SSL for the connection. Default is false . | false |
authSource | (Optional) Authentication source database name. | the_database |
authMechanism | (Optional) Authentication mechanism. Default is none. Example: SCRAM-SHA-256 . | SCRAM-SHA-256 |
Run MongoDB Locally
You can run a local instance of MongoDB using Docker: