mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
1.8 KiB
1.8 KiB
description |
---|
This guide will help install Superset connector and run manually |
Superset
{% hint style="info" %} Prerequisites
OpenMetadata is built using Java, DropWizard, Jetty, and MySQL.
- Python 3.7 or above {% endhint %}
Install from PyPI
{% tabs %} {% tab title="Install Using PyPI" %}
pip install 'openmetadata-ingestion[superset]'
{% endtab %} {% endtabs %}
Run Manually
metadata ingest -c ./examples/workflows/superset.json
Configuration
{% code title="superset.json" %}
{
"source": {
"type": "superset",
"config": {
"url": "http://localhost:8088",
"username": "admin",
"password": "admin",
"service_name": "local_superset"
}
},
...
{% endcode %}
- username - pass the Superset username.
- password - password for the username.
- url - superset connector url
- service_name - Service Name for this Superset cluster. If you added Superset cluster through OpenMetadata UI, make sure the service name matches the same.
- filter_pattern - It contains includes, excludes options to choose which pattern of datasets you want to ingest into OpenMetadata
Publish to OpenMetadata
Below is the configuration to publish Superset data into the OpenMetadata service.
Add metadata-rest
sink along with metadata-server
config
{% code title="superset.json" %}
{
"source": {
"type": "superset",
"config": {
"url": "http://localhost:8088",
"username": "admin",
"password": "admin",
"service_name": "local_superset"
}
},
"sink": {
"type": "metadata-rest",
"config": {
}
},
"metadata_server": {
"type": "metadata-server",
"config": {
"api_endpoint": "http://localhost:8585/api",
"auth_provider_type": "no-auth"
}
}
}
{% endcode %}