mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-06 06:26:25 +00:00
docs(airflow) add back auth token info for airflow (#5960)
Seems this PR https://github.com/datahub-project/datahub/pull/5703 was accidentally reverted.
This commit is contained in:
parent
f70bb201ce
commit
a0f59825ec
@ -33,7 +33,7 @@ We recommend you use the lineage plugin if you are on Airflow version >= 2.0.2 o
|
||||
|
||||
```shell
|
||||
# For REST-based:
|
||||
airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://datahub-gms:8080'
|
||||
airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://datahub-gms:8080' --conn-password '<optional datahub auth token>'
|
||||
# For Kafka-based (standard Kafka sink config can be passed via extras):
|
||||
airflow connections add --conn-type 'datahub_kafka' 'datahub_kafka_default' --conn-host 'broker:9092' --conn-extra '{}'
|
||||
```
|
||||
@ -88,7 +88,7 @@ If you are looking to run Airflow and DataHub using docker locally, follow the g
|
||||
|
||||
```shell
|
||||
# For REST-based:
|
||||
airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://localhost:8080'
|
||||
airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://datahub-gms:8080' --conn-password '<optional datahub auth token>'
|
||||
# For Kafka-based (standard Kafka sink config can be passed via extras):
|
||||
airflow connections add --conn-type 'datahub_kafka' 'datahub_kafka_default' --conn-host 'broker:9092' --conn-extra '{}'
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user