Enum TaskQueueKind
- Namespace
- Temporalio.Api.Enums.V1
- Assembly
- Temporalio.dll
public enum TaskQueueKind
Fields
[OriginalName("TASK_QUEUE_KIND_NORMAL")] Normal = 1Tasks from a normal workflow task queue always include complete workflow history
The task queue specified by the user is always a normal task queue. There can be as many workers as desired for a single normal task queue. All those workers may pick up tasks from that queue.
[OriginalName("TASK_QUEUE_KIND_STICKY")] Sticky = 2A sticky queue only includes new history since the last workflow task, and they are per-worker.
Sticky queues are created dynamically by each worker during their start up. They only exist for the lifetime of the worker process. Tasks in a sticky task queue are only available to the worker that created the sticky queue.
Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
[OriginalName("TASK_QUEUE_KIND_UNSPECIFIED")] Unspecified = 0Tasks from any non workflow task may be unspecified.
Task queue kind is used to differentiate whether a workflow task queue is sticky or normal. If a task is not a workflow task, Task queue kind will sometimes be unspecified.
[OriginalName("TASK_QUEUE_KIND_WORKER_COMMANDS")] WorkerCommands = 3A worker-commands task queue is used for server-to-worker communication (e.g. activity cancellations). These queues are ephemeral and per-worker-process — they exist only for the lifetime of the worker process. Used with TASK_QUEUE_TYPE_NEXUS and polled via PollNexusTaskQueue.