Is there a way to disable the Airflow Datahub plug...
# ingestion
r
Is there a way to disable the Airflow Datahub plugin locally which doesn't involve removing the dependency? For example, if I use the lineage backend, I can just inject
AIRFLOW__LINEAGE__BACKEND
set to an empty string to 'disable' the integration. When I set
AIRFLOW__DATAHUB__CONN_ID
to an empty string or remove the
[datahub]
configuration from
airflow.cfg
entirely, I still get the error messages in the task logs which is noisy.
g
Just added an
enabled
flag to the config https://github.com/datahub-project/datahub/pull/6089 🙂
r
thanks, this looks awesome!
g
Taking a guess at what could be wrong: your config should be in airflow.cfg under datahub, not under lineage
Copy code
[datahub]
enabled=false
The lineage piece was from the lineage backend, which we used before we developed the plugin version
r
message has been deleted
@gray-shoe-75895 do you know if this check should be in this file?
when I run a test DAG with the flag set, I see the emit happening from the
_plugin.py
file
g
Yup you’re right - fixing it here https://github.com/datahub-project/datahub/pull/6528
r
Awesome! Thanks for the quick turnaround