Skip to content

Feat: Make sensor mode configurable for SQLMesh sensors in Airflow#2786

Merged
izeigerman merged 2 commits intomainfrom
feat-airflow-sensor-mode
Jun 17, 2024
Merged

Feat: Make sensor mode configurable for SQLMesh sensors in Airflow#2786
izeigerman merged 2 commits intomainfrom
feat-airflow-sensor-mode

Conversation

@izeigerman
Copy link
Contributor

The default mode (reschedule) is not always the best fit, especially if the Airflow cluster is configured to use Kubernetes workers. With such a setup, a new pod gets allocated each time on each poll, which adds significantly to the task latency.

This update allows users to set the desired mode themselves.

@izeigerman izeigerman force-pushed the feat-airflow-sensor-mode branch from 5ca4865 to 9c1fde4 Compare June 17, 2024 23:28
@izeigerman izeigerman merged commit c587ac1 into main Jun 17, 2024
@izeigerman izeigerman deleted the feat-airflow-sensor-mode branch June 17, 2024 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants