Skip to content

AwaitMessageTriggerFunctionSensor take long time to trigger event_triggered_function #34469

Answered by Taragolis
hungnguyenthien asked this question in Q&A
Discussion options

You must be logged in to vote

emitted from 'pick_downstream_dag' function approximately every 45 seconds, and it looks like the process slept for 45 seconds without doing anything. Please see the log below to see that:

Unfortunetly this example contain worst advice in Airflow, somehow this was missed during PR when Kafka provider was added. Sometimes it happen we all humans and could miss something. But I hope this sample would be removed in the next release of provider, see: #34470

It would be great if I could shorten this time from 45s to 10ms. Please help me for that.

10ms it is not possible due to initial design and purpose of Airflow: run Batch tasks, something might (or might not) change in the future but ri…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hungnguyenthien
Comment options

@Taragolis
Comment options

Answer selected by hungnguyenthien
@hungnguyenthien
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants