Generic MongoDB

After you select Generic MongoDB as the Source for creating the Pipeline, provide the connection settings and data replication details in the Configure your MongoDB Source page.

You can connect to the MongoDB database in one of the following ways:

  • By specifying the individual connection fields such as database host, database port, username, and password.

  • By entering the connection URI to connect to your MongoDB replica set or sharded cluster.

    Connection URIs are of two types:

    • DNS Seedlist: This type of connection URI has the prefix mongodb+srv://.

      For example, mongodb+srv://<Jerome>:<Hevo123>@demo.westeros.net/.

      The +srv part indicates that the hostname corresponds to a DNS SRV record. The hostnames and port values for your MongoDB database are fetched from the DNS SRV record.

    • Standard Connection String: This type of connection URI has the prefix mongodb://. This contains a comma-separated list of host:port combinations.

      For example, mongodb://Jerome:Hevo123@demo1.westeros.net:21275,demo2.westeros.net:21275/.

      In the above example, Jerome is the database user, Hevo123 is the password for the database user, demo1.westeros.net is the IP address or hostname of the database, and 21275 is the database port.


Limitations

  • Hevo does not support configuring a standalone instance of MongoDB without a replica.

See Also


Revision History

Refer to the following table for the list of key updates made to this page:

Date Release Description of Change
Jul-12-2022 1.92 Updated section, Configure Generic MongoDB Connection Settings to include information about the drop-down to select databases in the Load All Databases option.
Apr-21-2022 1.86 Updated section, Configure Generic MongoDB Connection Settings.
Jul-12-2021 1.67 Added the field Include New Tables in the Pipeline under Source configuration settings.
Jun-28-2021 1.66 - Updated the page overview section.
- Updated the section Set up Permissions to Read Generic MongoDB Databases to include latest commands.
- Updated the section Configure Generic MongoDB Connection Settings to include the option to connect to the MongoDB database using connection string.
- Added section, Limitations.
Last updated on 10 Nov 2022

Tell us what went wrong