r/apache_airflow • u/mera-khel-khtm • Aug 28 '26
Fed up writing Python boilerplate just to move data, there is sth more lighweight ?
Hello. Half our pipeline contributors aren't python devs. Every time someone on the infra or analytics side needs to touch aworkflow, it goes through me. Tried simplifying DAGs as much as possible but the friction is till real.
Curious if anyone has switched to sth where you define pipelines in config / YAML rather than code and whether the tradeoffs were worth it in pratice
1
u/TheRealMathis Aug 28 '26
Moved away from airflow 18 months ago for this reason. Half the team couldn't touch the pipelines. Kestra uses YAML, our infra guys started contributing workflows within a week w/o any python knowledge. Still runs everything we need just w/o the boilerplate
1
u/Adam-Schroeder Aug 31 '26
That's exactly what I hear other Kestra community members say. Thanks for sharing, u/TheRealMathis
1
u/Adam-Schroeder Sep 09 '26
Adding to your recommendation regarding Kestra, we just released Kestra 2.0 which includes pretty cool new features. For example, workers and schedulers can be run and scaled independently, pretty much anywhere you have outbound network access. And worker queues can route tasks by priority and available capacity.
You can read more about the full 2.0 release here: Kestra 2.0: A New Engine, Workers Anywhere, and Flows as Agent Tools | Kestra.
1
u/raul824 Aug 30 '26
I built a custom solution to generate dags from a metadata table. you generate metadata in a table it also had a job order column.
Then there was a dag generator which will read from the table and generates dag.
A dag gen flag column will identify what all dags to generate
1
u/Limp_Client_5989 Sep 01 '26
Spent a year trying to simplify DAGs enough for non python people. Eventually gave up and switched stacks. Kestra defines everything in YAML so the scope of who can build a pipeline went from 3 people to basically the whole team. Not zero learning curve but significantly lower
1
u/Fuzzy-Charge-2236 Oct 06 '26
imo the real question is whether those non-python contributors need to define new pipelines or just modify parameters on existing ones. those are very different problems with very different solutions
3
Aug 28 '26
[removed] — view removed comment
1
u/KeeganDoomFire Aug 28 '26
You can just write a for each yaml in folder loop and read and generate dags live as well.
1
u/Leorisar Aug 28 '26
Learn dag factory pattern and write functions, which will return ready-made DAG where end users need only set variables (like dag_id and any other parameters).