apache / apache/airflow

Java SDK: native Dag definition

Open
#69,950 0 comments 0 reactions 1 assignee Claimed by @jason810496 View on GitHub
AIP-85: Dag Importer area:core area:java-sdk area:task-sdk kind:feature on hold
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### Body

**We should wait until [AIP-85 Dag Importers](https://cwiki.apache.org/confluence/spaces/AIRFLOW/pages/315494137/AIP-85+DAG+importer) pass**.

### Background

The Java SDK (`1.0.0-beta1`) intentionally ships in "Python-stub-Dag mode": Java SDK handlers are registered for Dag/task IDs declared in Python. Higher-level Java Dag authoring was deferred until coordinator-mode execution is reviewed.

### What needs to happen

1. Allow declaring Dags natively in Java-SDK.
2. Revisit bundle ergonomics alongside the authoring interface.

### Acceptance criteria

- A Dag can be authored end to end in Java with no Python stub file.

### Committer

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.