Skip to main content

Temporal CLI task-queue command reference

Task Queue commands allow operations to be performed on Task QueuesLink preview iconWhat is a Task Queue?

A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.

Learn more. To run a Task Queue command, run temporal task-queue [command] [command options]

describe

The temporal task-queue describe command provides poller information for a given Task QueueLink preview iconWhat is a Task Queue?

A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.

Learn more.

The ServerLink preview iconWhat is the Temporal Server?

The Temporal Server is a grouping of four horizontally scalable services.

Learn more records the last time of each poll request. Should LastAccessTime exceeds one minute, it's likely that the Worker is at capacity (all Workflow and Activity slots are full) or that the Worker has shut down.

WorkersLink preview iconWhat is a Worker?

In day-to-day conversations, the term Worker is used to denote both a Worker Program and a Worker Process. Temporal documentation aims to be explicit and differentiate between them.

Learn more are removed if 5 minutes have passed since the last poll request.

With this command, information about the Task Queue can be returned to troubleshoot server issues.

temporal task-queue describe --task-queue=MyTaskQueue --task-queue-type="activity"

Use the options listed below to modify what this command returns.

list-partition

The temporal task-queue list-partition command displays the partitions of a Task QueueLink preview iconWhat is a Task Queue?

A Task Queue is a first-in, first-out queue that a Worker Process polls for Tasks.

Learn more, along with the matching node they are assigned to.

Use the options listed below to change the command's behavior.