The Essentials of Custom Executor Development
summary
Airflow 2.7 + AIP-51 adds full custom executor support and the Amazon Provider implements an ECS executor that actually runs each task in its own container. Code shows six concrete components: startup (optional health check that intentionally runs an impossible stop to verify liveness), sync running tasks by ARNs and adopt task instances, new-task queueing, retry/backoff on launch failures, fail handling, and graceful vs terminate exits. Uncaught exceptions crash the scheduler loop so exhaustive error handling is mandatory.
AI-written summary · about
