Best Practices For Writing DAGs In Airflow 2

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 13

  • @lokeshkumar1365
    @lokeshkumar1365 2 года назад +4

    Could you please make video on best practices for kubernetesexecuter on K8s and how we can run parallel pods?

  • @marcin2x4
    @marcin2x4 3 месяца назад

    Are presented examples available in any code repo?

  • @dani2500d
    @dani2500d 11 месяцев назад +1

    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  11 месяцев назад

      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 2 года назад

    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 2 года назад

    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?

  • @razer9234
    @razer9234 2 года назад

    Where can we get the presentation slides?

  • @yevgenym9204
    @yevgenym9204 6 месяцев назад

    @Astronomer
    Please share a direct link to the CLI library you mention (for proper files strcuture)
    ruclips.net/video/zVzBVpbgw1A/видео.htmlsi=HiJa9Afi-53yLZOG&t=873

    • @Astronomer
      @Astronomer  6 месяцев назад

      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 11 месяцев назад +1

      How do you say it? I and everyone else I work with (in London) say it like that