You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution is to upgrade `acryl-datahub-airflow-plugin>=0.12.0.4` or upgrade `pluggy>=1.2.0`. See this [PR](https://github.com/datahub-project/datahub/pull/9365) for details.
341
341
342
+
### Disabling the DataHub Plugin v2
343
+
344
+
There are two ways to disable the DataHub Plugin v2:
345
+
346
+
#### 1. Disable via Configuration
347
+
348
+
Set the `datahub.enabled` configuration property to `False` in the `airflow.cfg` file and restart the Airflow environment to reload the configuration and disable the plugin.
349
+
350
+
```ini title="airflow.cfg"
351
+
[datahub]
352
+
enabled = False
353
+
```
354
+
355
+
#### 2. Disable via Airflow Variable (Kill-Switch)
356
+
357
+
If a restart is not possible and you need a faster way to disable the plugin, you can use the kill-switch. Create and set the `datahub_airflow_plugin_disable_listener` Airflow variable to `true`. This ensures that the listener won't process anything.
358
+
359
+
#### Command Line
360
+
361
+
```shell
362
+
airflow variables set datahub_airflow_plugin_disable_listener true
363
+
```
364
+
365
+
#### Airflow UI
366
+
367
+
1. Go to Admin -> Variables.
368
+
2. Click the "+" symbol to create a new variable.
369
+
3. Set the key to `datahub_airflow_plugin_disable_listener` and the value to `true`.
370
+
371
+
This will immediately disable the plugin without requiring a restart.
372
+
342
373
## Compatibility
343
374
344
375
We no longer officially support Airflow <2.3. However, you can use older versions of `acryl-datahub-airflow-plugin` with older versions of Airflow.
0 commit comments