You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: go-sdk/README.md
+53Lines changed: 53 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,59 @@ The Task API however does not provide a means to get the `ExecuteTaskWorkload` t
32
32
33
33
Since Go is a compiled language (putting aside projects such as [YAEGI](https://github.com/traefik/yaegi) that allow go to be interpreted) all tasks must be a) compiled in to the binary, and b) "registered" inside the worker process in order to be executed.
34
34
35
+
## Quick Testing Setup
36
+
37
+
The Go SDK currently works with Airflow's Celery Executor setup. Here's how to get started:
-`--queues default`: Queue name where Celery enqueues tasks
80
+
-`--execution-api-url http://localhost:28080/execution`: Airflow's Task Execution API endpoint
81
+
82
+
### Step 4: Submit a Test Task
83
+
84
+
You can submit tasks through the Airflow UI for dag_id: `tutorial_dag`. The Go worker will pick up tasks from the Celery queue and execute them using the Task Execution Interface.
85
+
86
+
Observe the logs in the terminal where you run the test task.
0 commit comments