You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Add poller groups**
- **rename resource_id to routing key for nexus**
- **fix typo**
- **Add poller group fields**
<!-- Describe what has changed in this PR -->
**What changed?**
Adding `poller-group-id` and `poller-group-info` fields to the poll
APIs.
<!-- Tell your future self why have you made these changes -->
**Why?**
SDK needs to pass poller group ID in some APIs according to server
instructions.
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
None
<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
No new API added.
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15379,6 +15379,30 @@
15379
15379
"pollerScalingDecision": {
15380
15380
"$ref": "#/definitions/v1PollerScalingDecision",
15381
15381
"description": "Server-advised information the SDK may use to adjust its poller count."
15382
+
},
15383
+
"pollerGroupId": {
15384
+
"type": "string",
15385
+
"description": "This poller group ID identifies the owner of the workflow task awaiting for query response.\nCorresponding RespondQueryTaskCompleted should pass this value for proper routing."
15386
+
},
15387
+
"pollerGroupInfos": {
15388
+
"type": "array",
15389
+
"items": {
15390
+
"type": "object",
15391
+
"$ref": "#/definitions/v1PollerGroupInfo"
15392
+
},
15393
+
"description": "The weighted list of poller groups IDs that client should use for future polls to this task\nqueue. Client is expected to:\n 1. Maintain minimum number of pollers no less than the number of groups.\n 2. Try to assign the next poll to a group without any pending polls,\n 3. If every group has some pending polls, assign the next poll to a group randomly\n according to the weights."
0 commit comments