mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-31 04:25:29 +00:00
docs(airflow): add debug guide on url generation (#7885)
Co-authored-by: Tamas Nemeth <treff7es@gmail.com>
This commit is contained in:
parent
71ecbd6060
commit
f314d896b9
@ -30,7 +30,7 @@ pip install acryl-datahub-airflow-plugin
|
||||
|
||||
:::note
|
||||
|
||||
The [DataHub Rest](../../metadata-ingestion/sink_docs/datahub.md#datahub-rest) emitter is included in the plugin package by default. To use [DataHub Kafka](../../metadata-ingestion/sink_docs/datahub.md#datahub-kafka) install `pip install acryl-datahub-airflow-plugin[datahub-kafka]`.
|
||||
The [DataHub Rest](../../metadata-ingestion/sink_docs/datahub.md#datahub-rest) emitter is included in the plugin package by default. To use [DataHub Kafka](../../metadata-ingestion/sink_docs/datahub.md#datahub-kafka) install `pip install acryl-datahub-airflow-plugin[datahub-kafka]`.
|
||||
|
||||
:::
|
||||
|
||||
@ -145,6 +145,17 @@ Take a look at this sample DAG:
|
||||
|
||||
In order to use this example, you must first configure the Datahub hook. Like in ingestion, we support a Datahub REST hook and a Kafka-based hook. See step 1 above for details.
|
||||
|
||||
## Debugging
|
||||
|
||||
### Incorrect URLs
|
||||
|
||||
If your URLs aren't being generated correctly (usually they'll start with `http://localhost:8080` instead of the correct hostname), you may need to set the webserver `base_url` config.
|
||||
|
||||
```ini title="airflow.cfg"
|
||||
[webserver]
|
||||
base_url = http://airflow.example.com
|
||||
```
|
||||
|
||||
## Additional references
|
||||
|
||||
Related Datahub videos:
|
||||
|
Loading…
x
Reference in New Issue
Block a user