tctl v1.16 task-queue command reference
The What is a Task Queue? A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.tctl taskqueue
command enables Task Queue
Alias: tq
- `tctl taskqueue describe`
- `tctl taskqueue list-partition`
tctl taskqueue list-partition
How to list Task Queue partitions and the hostname for partitions using tctl.
describe
Alias: desc
The What is a Task Queue? A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.tctl taskqueue describe
command describes the poller information of a Task Queue
tctl taskqueue describe <modifiers> <value>
The following modifiers control the behavior of the command.
--taskqueue
Required modifier
Alias: --tq
Example
tctl taskqueue describe --taskqueue <value>
--taskqueuetype
Specify the type of a Task Queue What is a Task Queue? A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.workflow
or activity
.
The default is workflow
.
Alias: --tqt
Example
tctl taskqueue describe --taskqueue <value> --taskqueuetype <type>
list-partition
The What is a Task Queue? A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.tctl taskqueue list-partition
command lists the partitions of a Task Queue
tctl taskqueue list-partition --taskqueue <value>
The following modifier controls the behavior of the command.
--taskqueue
Required modifier
Specify a Task Queue What is a Task Queue? A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.
Alias: --tq
Example
tctl taskqueue list-partition --taskqueue <value>