MongoDB
This connector materializes data from your Flow collections to your MongoDB collections.
ghcr.io/estuary/materialize-mongodb:dev provides the latest connector image. You can also follow the link in your browser to see past image versions.
Data model
MongoDB is a NoSQL database. Its data
model
consists of documents (lightweight records that contain mappings of fields
and values) organized in collections. MongoDB documents have a mandatory
_id field that is used as the key of the collection. Flow collection documents
are materialized as MongoDB documents with an _id field value based on the
Flow collection key.
If your Flow collection already has a field named _id, its value will
be present in the materialized MongoDB document as the field _flow_id to
prevent conflicts with the required _id field.
Prerequisites
You'll need:
-
Credentials for connecting to your MongoDB instance and database.
-
Read and write access to your MongoDB database and desired collections. See Role-Based Access Control for more information.
-
If you are using MongoDB Atlas, or your MongoDB provider requires allowlisting of IPs, you need to allowlist the Estuary IP addresses.