Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1895,14 +1895,15 @@
},
{
"name": "taskQueue.kind",
"description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.",
"description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.\n - TASK_QUEUE_KIND_WORKER_COMMANDS: A worker-commands task queue is used for server-to-worker communication (e.g. activity\ncancellations). These queues are per-worker and only exist for the lifetime of the worker\nprocess.",
"in": "query",
"required": false,
"type": "string",
"enum": [
"TASK_QUEUE_KIND_UNSPECIFIED",
"TASK_QUEUE_KIND_NORMAL",
"TASK_QUEUE_KIND_STICKY"
"TASK_QUEUE_KIND_STICKY",
"TASK_QUEUE_KIND_WORKER_COMMANDS"
],
"default": "TASK_QUEUE_KIND_UNSPECIFIED"
},
Expand Down Expand Up @@ -6632,14 +6633,15 @@
},
{
"name": "taskQueue.kind",
"description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.",
"description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.\n - TASK_QUEUE_KIND_WORKER_COMMANDS: A worker-commands task queue is used for server-to-worker communication (e.g. activity\ncancellations). These queues are per-worker and only exist for the lifetime of the worker\nprocess.",
"in": "query",
"required": false,
"type": "string",
"enum": [
"TASK_QUEUE_KIND_UNSPECIFIED",
"TASK_QUEUE_KIND_NORMAL",
"TASK_QUEUE_KIND_STICKY"
"TASK_QUEUE_KIND_STICKY",
"TASK_QUEUE_KIND_WORKER_COMMANDS"
],
"default": "TASK_QUEUE_KIND_UNSPECIFIED"
},
Expand Down Expand Up @@ -16739,10 +16741,11 @@
"enum": [
"TASK_QUEUE_KIND_UNSPECIFIED",
"TASK_QUEUE_KIND_NORMAL",
"TASK_QUEUE_KIND_STICKY"
"TASK_QUEUE_KIND_STICKY",
"TASK_QUEUE_KIND_WORKER_COMMANDS"
],
"default": "TASK_QUEUE_KIND_UNSPECIFIED",
"description": " - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities."
"description": " - TASK_QUEUE_KIND_UNSPECIFIED: Tasks from any non workflow task may be unspecified.\n\nTask queue kind is used to differentiate whether a workflow task queue is sticky or \nnormal. If a task is not a workflow task, Task queue kind will sometimes be \nunspecified.\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.\n - TASK_QUEUE_KIND_WORKER_COMMANDS: A worker-commands task queue is used for server-to-worker communication (e.g. activity\ncancellations). These queues are per-worker and only exist for the lifetime of the worker\nprocess."
},
"v1TaskQueueReachability": {
"type": "object",
Expand Down
3 changes: 3 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ paths:
- TASK_QUEUE_KIND_UNSPECIFIED
- TASK_QUEUE_KIND_NORMAL
- TASK_QUEUE_KIND_STICKY
- TASK_QUEUE_KIND_WORKER_COMMANDS
type: string
format: enum
- name: taskQueue.normalName
Expand Down Expand Up @@ -6046,6 +6047,7 @@ paths:
- TASK_QUEUE_KIND_UNSPECIFIED
- TASK_QUEUE_KIND_NORMAL
- TASK_QUEUE_KIND_STICKY
- TASK_QUEUE_KIND_WORKER_COMMANDS
type: string
format: enum
- name: taskQueue.normalName
Expand Down Expand Up @@ -14759,6 +14761,7 @@ components:
- TASK_QUEUE_KIND_UNSPECIFIED
- TASK_QUEUE_KIND_NORMAL
- TASK_QUEUE_KIND_STICKY
- TASK_QUEUE_KIND_WORKER_COMMANDS
type: string
description: 'Default: TASK_QUEUE_KIND_NORMAL.'
format: enum
Expand Down
4 changes: 4 additions & 0 deletions temporal/api/enums/v1/task_queue.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ enum TaskQueueKind {
//
// Sticky queues are only for workflow tasks. There are no sticky task queues for activities.
TASK_QUEUE_KIND_STICKY = 2;
// A worker-commands task queue is used for server-to-worker communication (e.g. activity
// cancellations). These queues are per-worker and only exist for the lifetime of the worker
// process.
TASK_QUEUE_KIND_WORKER_COMMANDS = 3;
}

enum TaskQueueType {
Expand Down
Loading