Best Practices For Writing DAGs In Airflow 2

  Рет қаралды 10,082

Astronomer

Astronomer

Күн бұрын

Пікірлер: 13
@lokeshkumar1365
@lokeshkumar1365 3 жыл бұрын
Could you please make video on best practices for kubernetesexecuter on K8s and how we can run parallel pods?
@dani2500d
@dani2500d Жыл бұрын
Hey, Awesome webinar! Thank you! I do have one question about the best practices of structuring a DAG. So, It is better to put the task implementations (python operators) into a separate file. If my tasks require a lot of imports, is it better to import inside every task (method) or is it fine to import it all on the top level of the tasks file?
@Astronomer
@Astronomer Жыл бұрын
I honestly usually just add them all to the top of DAG file as Taskflow tasks, instead of pulling in from files, but if you're using the same python functions in multiple DAG's, the import method is probably best for you!
@mosa36
@mosa36 2 жыл бұрын
Thank you for this video! I was wondering how you would see all the variables available or add new variables?
@Astronomer
@Astronomer Жыл бұрын
Check out the Airflow registry, it shows all the variables for each operator! registry.astronomer.io/
@rafalkuc7217
@rafalkuc7217 3 жыл бұрын
In 18:24 You are presenting DAGs Dashoard. Please noticed DAG called airflow2_good_example has schedule_imterval = '@daily', but Last run and Next run are showing the same date (2021-11-29, 00:00:00). Do You know when we can expect improvements? Its so confusing for end users.
@ricardodelzealandia6290
@ricardodelzealandia6290 3 жыл бұрын
Thanks for this. My question - the official apache airflow helm chart and the docker compose file splits airflow into multiple pieces using the same container image. Which instance of this image cares about the dag and it's related files, given every instance has the dags folder?
@marcin2x4
@marcin2x4 6 ай бұрын
Are presented examples available in any code repo?
@razer9234
@razer9234 2 жыл бұрын
Where can we get the presentation slides?
@yevgenym9204
@yevgenym9204 9 ай бұрын
@Astronomer Please share a direct link to the CLI library you mention (for proper files strcuture) kzbin.info/www/bejne/sIfdc4mml8yqZ6Msi=HiJa9Afi-53yLZOG&t=873
@Astronomer
@Astronomer 9 ай бұрын
You can find documentation on the Astro CLI, including download instructions, here: docs.astronomer.io/astro/cli/overview
@Cal97g
@Cal97g Жыл бұрын
Why can't americans say words? eye-dempotency?
@Slayeh
@Slayeh Жыл бұрын
How do you say it? I and everyone else I work with (in London) say it like that
Airflow 101: Essential Tips For Beginners
52:12
Astronomer
Рет қаралды 7 М.
Scheduling in Airflow
54:23
Astronomer
Рет қаралды 10 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
DAG Writing Best Practices in Apache Airflow
56:45
Astronomer
Рет қаралды 12 М.
TaskFlow API in Airflow 2.0
56:27
Astronomer
Рет қаралды 11 М.
Bhavani Ravi - Apache Airflow in Production - Bad vs Best Practices
35:55
Backfill your DAGs in Apache Airflow: Everything you need to know
23:14
Data Lineage with OpenLineage and Airflow
50:44
Astronomer
Рет қаралды 10 М.
Reducing Costs by Maximizing Airflow and DAG Performance
22:07
Apache Airflow
Рет қаралды 2,6 М.
Intro To Data Orchestration With Airflow
53:56
Astronomer
Рет қаралды 9 М.
Don't Use Apache Airflow
16:21
Bryan Cafferky
Рет қаралды 101 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН