News for hackers. Stuff that matters.
Re:New Apache Airflow Operators for Google Generative AI by notatallshaw on Tuesday August 13, 2024 @11:32AM (#41236438)
You don't need to have your biz tasks in the same venv as your airflow worker to take advantage of task mapping or XCOM.

You just need a well defined interface on how to call your biz tasks, and then you can use any of ExternalPythonOperator, DockerOperator, DockerSwarmOperator, KubernetesPodOperator, etc. etc. or write your own to pass in values or data to your task however you want.

Airflow is quite complex, and I don't recommend it as people's go to, but IMO that's in large part because it is so unopinionated about how you call and run your tasks and leaves the configuration up to you. But this also means it ends up being a lot of people's choice because they are able to get it to fit what they need.

There are no comments on this comment yet.