temporalio / temporalio/temporal

Add task queue query

Open
#1,460 11 comments 18 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

devexp difficulty: medium enhancement planning up-for-grabs
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, there is no way to query a specific worker for information as queries are always related to workflow execution. For example it is not possible to query a worker for activity types it supports.

Describe the solution you'd like
Add task queue query concept. Such a query specifies a task queue name to send the query to. Then a worker picks it up and replies using a new API like RespondTaskQueueQueryCompleted.

Additional context
This would support the ability to query for registered activity and workflow types, worker configuration options as well as execute activities synchronously.

https://community.temporal.io/t/list-registered-activities/1927

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.

Research direction

Start with the task queue query concept described in the issue and review the linked community discussion about listing registered activities. Determine the query and worker-response API semantics, including RespondTaskQueueQueryCompleted, and define what support for registered types, worker configuration, and synchronous activity execution means before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.