mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-20 07:07:59 +00:00
docs(ingest): add info about datahub auth tokens with airflow (#5703)
This commit is contained in:
parent
b3022b15ca
commit
1b626c7652
@ -33,7 +33,7 @@ We recommend you use the lineage plugin if you are on Airflow version >= 2.0.2 o
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# For REST-based:
|
# 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://localhost:8080' --conn-password '<optional datahub auth token>'
|
||||||
# For Kafka-based (standard Kafka sink config can be passed via extras):
|
# 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 '{}'
|
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