temporalio / temporalio/temporal

Add ability to list task queues for a given namespace

Open
#3,468 2 comments 6 reactions 1 assignee View on GitHub

@MichaelSnowden is already working on this.

Since Oct 10, 2022.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Task queue in temporal is dynamic, they are created on demand. There is no pre-registration step needed. This is great because it is very easy to use and you can create dynamic task queues at runtime.
There are cases where task queue is mis configured, or the generated task queue is incorrect. This could result in workflow been send to task queues that have no workers listening on.

The ability to list all active task queues could be very useful to help diagnose these problems. Active task queues are the task queues that are loaded into matching service. Any task queues that have either new tasks added to or have poller waiting on them in last 5m is considered as active task queue.

This is not to be confused with all task queues that ever exists and been created in persistence. We don't want to go to persistence to load up all existing task queues. (Maybe we will in the future, but not for now.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.