XCom backend confusion for Operator Extra Links #59914
Replies: 2 comments
-
|
As I was trying out some implementation locally to use custom xcom backend, it doesn't look like it is meant to be used in core API layer. That might be the reason why it was limited to XComModel originally. |
Beta Was this translation helpful? Give feedback.
-
cc: @kaxil @amoghrajesh -> I think that is an important point - was it a deliberate choice and is there a way to save to DB directly from task instance ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folks. In our Airflow project we are utilizing the operator extra links feature to provide additional information following the instructions here. We dynamically set the link values via xcom as the example and we are using a custom xcom backend (XComObjectStorageBackend).
The issue we are seeing is, when the tasks are running, the links are resolved to the object storage key, but in the end they will be resolved correctly to the value. After digging into the source code, I realized:
My question is, is there any specific reasons why we only use DB xcom backend for operator links? Any objections if I try to enable it for the configured custom backend?
Beta Was this translation helpful? Give feedback.
All reactions