Set up the Openflow Connector for MongoDB¶
Note
This connector is subject to the Snowflake Connector Terms.
This topic describes the steps to set up the Openflow Connector for MongoDB.
Configure the connector¶
To configure the connector, perform the following steps:
- Right-click on the added runtime, and select Parameters.
- Populate the required parameter values as described in Specify flow parameters.
Specify flow parameters¶
These sections describe the flow parameters that you can configure in the following parameter contexts:
- MongoDB source parameters: Used to define the configuration for reading data from MongoDB.
- MongoDB destination parameters: Used to establish a connection with Snowflake.
- MongoDB ingestion parameters: Used to specify the collections to replicate.
MongoDB source parameters¶
| Parameter | Description |
|---|---|
| MongoDB Connection URI | MongoURI, typically of the form: Snowflake recommends that you include the Database username and password must not be provided in the URI as this is considered a security issue. Example: |
| MongoDB Username | The username for interacting with MongoDB. Example: |
| MongoDB Password | The password for interacting with MongoDB. Example: |
| MongoDB Authentication Source | The database containing user credentials. Example: |
| MongoDB Authentication Mechanism | Authentication mechanism that MongoDB uses to authenticate the connection. Possible values are:
|
MongoDB destination parameters¶
| Parameter | Description |
|---|---|
| Destination Database | The name of the destination database to replicate into. Mixed case is supported. Example: |
| Snowflake Account Identifier | When using:
|
| Snowflake Authentication Strategy | When using:
Example: |
| Snowflake Connection Strategy | When using:
|
| Snowflake Private Key | When using:
|
| Snowflake Private Key File | When using:
|
| Snowflake Private Key Password | When using:
|
| Snowflake Role | When using:
Example: |
| Snowflake Username | When using:
Example: |
| Snowflake Warehouse | The name of the warehouse used by the connector. Example: |
MongoDB ingestion parameters¶
| Parameter | Description |
|---|---|
| Included Collection Names | Comma-separated list of the collections to replicate. Example: |
| Included Collection Regex | Regular expression for specifying collection names to replicate. Example: |
| Merge Task Schedule CRON | CRON expression defining periods when merge operations from journal to destination table are triggered. Use For example:
For additional information and examples, see the cron triggers tutorial in the Quartz Documentation. Example: |
Run the flow¶
- Right-click on the plane and select Enable all Controller Services.
- Right-click on the imported process group and select Start. The connector starts the data ingestion.
Next steps¶
For information about using the connector after installation, see Use the Openflow Connector for MongoDB.