temporalio / temporalio/temporal
Notify all workers on a task queue
@dnr is already working on this.
Since Sep 9, 2022.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
User scenario:
My scenario:
I have multiple workers listening on the same task queue for high throughput.
All the workers need to do some setup and cleanup work from time to time.
My requirement:
the business client can send a workflow or a command, which can be picked up and executed by all workers, instead of only one of them.
Is there any solution?
Describe the solution you'd like
My strawman proposal is to have a metadata map that is returned as part of every workflow or activity task. An admin API should support updating this map. The SDKs should watch for map changes and execute appropriate logic to notify workers about the changes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.