Skip to main content

Interface: IPollActivityTaskQueueRequest

workflowservice.v1.IPollActivityTaskQueueRequest

Properties of a PollActivityTaskQueueRequest.

Implemented by

Properties

deploymentOptions

Optional deploymentOptions: null | IWorkerDeploymentOptions

Worker deployment options that user has set in the worker.


identity

Optional identity: null | string

The identity of the worker/client


namespace

Optional namespace: null | string

PollActivityTaskQueueRequest namespace


pollerGroupId

Optional pollerGroupId: null | string

Unless this is the first poll, the client must pass one of the poller group IDs received in poller_group_infos of the last the PollActivityTaskQueueResponse according to the 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.


taskQueue

Optional taskQueue: null | ITaskQueue

PollActivityTaskQueueRequest taskQueue


taskQueueMetadata

Optional taskQueueMetadata: null | ITaskQueueMetadata

PollActivityTaskQueueRequest taskQueueMetadata


workerControlTaskQueue

Optional workerControlTaskQueue: null | string

A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.


workerInstanceKey

Optional workerInstanceKey: null | string

A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.


workerVersionCapabilities

Optional workerVersionCapabilities: null | IWorkerVersionCapabilities

Information about this worker's build identifier and if it is choosing to use the versioning feature. See the WorkerVersionCapabilities docstring for more. Deprecated. Replaced by deployment_options.