mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-19 07:17:38 +00:00
86 lines
3.4 KiB
Markdown
86 lines
3.4 KiB
Markdown
![]() |
---
|
||
|
title: MongoDB
|
||
|
slug: /connectors/database/mongodb
|
||
|
---
|
||
|
|
||
|
# MongoDB
|
||
|
|
||
|
{% multiTablesWrapper %}
|
||
|
|
||
|
| Feature | Status |
|
||
|
| :----------------- | :--------------------------- |
|
||
|
| Stage | PROD |
|
||
|
| Metadata | {% icon iconName="check" /%} |
|
||
|
| Query Usage | {% icon iconName="cross" /%} |
|
||
|
| Data Profiler | {% icon iconName="cross" /%} |
|
||
|
| Data Quality | {% icon iconName="cross" /%} |
|
||
|
| Lineage | {% icon iconName="cross" /%} |
|
||
|
| DBT | {% icon iconName="cross" /%} |
|
||
|
| Supported Versions | -- |
|
||
|
|
||
|
| Feature | Status |
|
||
|
| :----------- | :--------------------------- |
|
||
|
| Lineage | {% icon iconName="cross" /%} |
|
||
|
| Table-level | {% icon iconName="cross" /%} |
|
||
|
| Column-level | {% icon iconName="cross" /%} |
|
||
|
|
||
|
{% /multiTablesWrapper %}
|
||
|
|
||
|
|
||
|
In this section, we provide guides and references to use the MongoDB connector.
|
||
|
|
||
|
Configure and schedule MongoDB metadata workflows from the OpenMetadata UI:
|
||
|
|
||
|
- [Requirements](#requirements)
|
||
|
- [Metadata Ingestion](#metadata-ingestion)
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/ingestion-modes-tiles.md" variables={yamlPath: "/connectors/database/mongodb/yaml"} /%}
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
{%inlineCallout icon="description" bold="OpenMetadata 0.12 or later" href="/deployment"%}
|
||
|
To deploy OpenMetadata, check the Deployment guides.
|
||
|
{%/inlineCallout%}
|
||
|
|
||
|
To fetch the metadata from MongoDB to OpenMetadata, the MongoDB user must have access to perform `find` operation on collection and `listCollection` operations on database available in MongoDB.
|
||
|
|
||
|
## Metadata Ingestion
|
||
|
|
||
|
{% partial
|
||
|
file="/v1.1.1/connectors/metadata-ingestion-ui.md"
|
||
|
variables={
|
||
|
connector: "MongoDB",
|
||
|
selectServicePath: "/images/v1.1.1/connectors/mongodb/select-service.png",
|
||
|
addNewServicePath: "/images/v1.1.1/connectors/mongodb/add-new-service.png",
|
||
|
serviceConnectionPath: "/images/v1.1.1/connectors/mongodb/service-connection.png",
|
||
|
}
|
||
|
/%}
|
||
|
|
||
|
{% stepsContainer %}
|
||
|
{% extraContent parentTagName="stepsContainer" %}
|
||
|
|
||
|
#### Connection Details
|
||
|
|
||
|
- **MongoDB Connection Details**: Choose between MongoDB Connection String and MongoDB Connection Values to authenticate with your mongodb cluster.
|
||
|
- **Connection URI**: MongoDB connection string is a concise string of parameters used to establish a connection between an OpenMetadata and a MongoDB database. For ex. `mongodb://username:password@mongodb0.example.com:27017`.
|
||
|
- **Username**: Username to connect to Mongodb. This user must have access to perform `find` operation on collection and `listCollection` operations on database available in MongoDB.
|
||
|
- **Password**: Password to connect to MongoDB.
|
||
|
- **Host Port**: The hostPort parameter specifies the host and port of the MongoDB. This should be specified as a string in the format `hostname:port`. E.g., `localhost:27017`.
|
||
|
- **databaseName**: Optional name to give to the database in OpenMetadata. If left blank, we will use default as the database name.
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/database/advanced-configuration.md" /%}
|
||
|
|
||
|
{% /extraContent %}
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/test-connection.md" /%}
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/database/configure-ingestion.md" /%}
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/ingestion-schedule-and-deploy.md" /%}
|
||
|
|
||
|
{% /stepsContainer %}
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/troubleshooting.md" /%}
|
||
|
|
||
|
{% partial file="/v1.1.1/connectors/database/related.md" /%}
|