temporalio / temporalio/samples-go
[Feature Request] Add Task Queue Priority and Fairness sample
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 749
- Forks
- 248
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
There is documentation for Task Queue Priority and Fairness, but I could not find a Go sample that demonstrates how to use it.
Describe the solution you'd like
Add a simple Go sample for Task Queue Priority and Fairness.
The sample should show how users can set PriorityKey, FairnessKey, and FairnessWeight on Activity options. It can use a small multi-tenant workload where urgent work runs first and tenants share dispatch fairly within the same priority level.
Additional context
Docs : https://docs.temporal.io/develop/task-queue-priority-fairness
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the Task Queue Priority and Fairness documentation and locating existing Go samples in this repository. Add a small multi-tenant workload demonstrating Activity options with PriorityKey, FairnessKey, and FairnessWeight, then run the relevant sample checks to confirm urgent work is prioritized and dispatch is fair within a priority level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100