Skip to content

Add Poller Group fields#744

Merged
ShahabT merged 8 commits intomasterfrom
shahab/mcn
Apr 21, 2026
Merged

Add Poller Group fields#744
ShahabT merged 8 commits intomasterfrom
shahab/mcn

Conversation

@ShahabT
Copy link
Copy Markdown
Contributor

@ShahabT ShahabT commented Mar 24, 2026

  • Add poller groups
  • rename resource_id to routing key for nexus
  • fix typo
  • Add poller group fields

What changed?
Adding poller-group-id and poller-group-info fields to the poll APIs.

Why?
SDK needs to pass poller group ID in some APIs according to server instructions.

Breaking changes
None

Server PR
No new API added.

@ShahabT ShahabT requested review from a team March 24, 2026 23:47
Comment thread temporal/api/workflowservice/v1/request_response.proto Outdated
Comment thread temporal/api/workflowservice/v1/request_response.proto Outdated
Comment thread temporal/api/workflowservice/v1/request_response.proto
Comment on lines +265 to +266
// instructions. If not set, the poll is routed randomly which can cause it being blocked
// without receiving a task while the queue actually has tasks in another server location.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// instructions. If not set, the poll is routed randomly which can cause it being blocked
// without receiving a task while the queue actually has tasks in another server location.
// instructions. If not set, the poll is routed randomly which can cause it to be blocked
// without receiving a task while the queue actually has tasks in another server location.

Wording fix needs to apply everywhere.

It'll be forwarded though, at some point right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to apply the change before merge. will send it in my next PR.

It'll be forwarded though, at some point right?

No, there wont be any cross-poller-group forwards. The poll stays there until expired and next time it'll be routed randomly again.

@ShahabT ShahabT merged commit 64552cf into master Apr 21, 2026
4 checks passed
@ShahabT ShahabT deleted the shahab/mcn branch April 21, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants