File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ We recommend you use the lineage plugin if you are on Airflow version >= 2.0.2 o
33
33
34
34
` ` ` shell
35
35
# For REST-based:
36
- airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://datahub-gms:8080'
36
+ airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host 'http://datahub-gms:8080' --conn-password '<optional datahub auth token>'
37
37
# For Kafka-based (standard Kafka sink config can be passed via extras):
38
38
airflow connections add --conn-type 'datahub_kafka' 'datahub_kafka_default' --conn-host 'broker:9092' --conn-extra '{}'
39
39
```
@@ -88,7 +88,7 @@ If you are looking to run Airflow and DataHub using docker locally, follow the g
88
88
89
89
``` shell
90
90
# For REST-based:
91
- airflow connections add --conn-type ' datahub_rest' ' datahub_rest_default' --conn-host ' http://localhost :8080'
91
+ airflow connections add --conn-type ' datahub_rest' ' datahub_rest_default' --conn-host ' http://datahub-gms :8080' --conn-password ' <optional datahub auth token> '
92
92
# For Kafka-based (standard Kafka sink config can be passed via extras):
93
93
airflow connections add --conn-type ' datahub_kafka' ' datahub_kafka_default' --conn-host ' broker:9092' --conn-extra ' {}'
94
94
```
You can’t perform that action at this time.
0 commit comments