temporalio / temporalio/temporal
Ability to get all task queues per namespace
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
Currently public API only allow query a specific task queue. Temporal should consider adding functionality to list all task queue per namespace for maintenance & debugging purpose.
Describe the solution you'd like
See above
Describe alternatives you've considered
N/A
Additional context
there exists one persistence layer API which allow pagination of ALL task queues, but this API impl is not efficient & some cases does not allow pagination according to namespace:
- Cassandra tasks table schema use
PRIMARY KEY ((namespace_id, task_queue_name, task_queue_type), type, task_id) - MySQL task queue schema use
PRIMARY KEY (range_hash, task_queue_id) - PostgreSQL task queue schema use
PRIMARY KEY (range_hash, task_queue_id)
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.
Research direction
Start with common/persistence/dataInterfaces.go and compare the Cassandra, MySQL, and PostgreSQL task queue schemas linked in the issue. Trace how task queues are currently queried and determine the scope of a namespace-specific paginated listing. Done means the public API can list all task queues for a namespace efficiently across the supported persistence layers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, go, mysql, postgresql
- Domain
- api, backend, databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100