Ordering tasks #572
adamalexandru4
started this conversation in
General
Replies: 2 comments
-
The only thing you can do is to have one task schedule the next (or "change into" the next) |
Beta Was this translation helpful? Give feedback.
0 replies
-
The problem is that jobs can come later than I schedule the first task. I don't know from the first place which tasks to run. They come from external services but I need to execute them in the receiving order. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m wondering if it’s possible to organize tasks similarly to how Kafka handles messages within topic partitions.
For example, when scheduling tasks like task1, task2, and task3, you could provide additional information (e.g., a key). The scheduler would then process the tasks sequentially: first completing task1, then task2, and finally task3, ensuring they are never executed in parallel or out of order.
Does anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions