temporalio / temporalio/temporal
Add ability to list task queues for a given namespace
@MichaelSnowden is already working on this.
Since Oct 10, 2022.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.