Skip to content

[Feature Request] Add Task Queue Priority and Fairness sample #465

@sivagirish81

Description

@sivagirish81

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions