Enumeration: TaskQueueKind
TaskQueueKind enum.
Enumeration Members
TASK_QUEUE_KIND_NORMAL
• TASK_QUEUE_KIND_NORMAL = 1
Tasks 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.
TASK_QUEUE_KIND_STICKY
• TASK_QUEUE_KIND_STICKY = 2
A 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.
TASK_QUEUE_KIND_UNSPECIFIED
• TASK_QUEUE_KIND_UNSPECIFIED = 0
Tasks 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.
TASK_QUEUE_KIND_WORKER_COMMANDS
• TASK_QUEUE_KIND_WORKER_COMMANDS = 3
A 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.