temporalio / temporalio/temporal
Add API to allow operator to add custom system workflows to worker role
@samarabbas is already working on this.
Since Jan 7, 2022.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Operators of Temporal often have their own system-level workflows they run in order to support various integrations with the underlying infrastructure or org-specific enterprise systems. We can always spin up our own worker apps, but in some cases it would be simpler to just piggyback on top of the existing temporal-server worker role.
The Temporal server code already supports many ways to customize the server code via ServerOptions (or dependency injection in the latest versions?). I'm thinking it would be nice to allow for a new customization API that would allow the operator to specify system level workflows and corresponding workers that should be run within the worker role.
We would probably need the ability to specify the workflow id of these custom workflows. We would also need to be able to specify some of the same sets of options as are currently specified in the Config struct in the worker package.
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.