Skip to main content

Interface: $Properties

Properties of a PollActivityTaskQueueRequest.

Extended by​

Properties​

deploymentOptions?​

optional deploymentOptions?: $Properties | null

Worker deployment options that user has set in the worker.


identity?​

optional identity?: string | null

The identity of the worker/client


namespace?​

optional namespace?: string | null

PollActivityTaskQueueRequest namespace


pollerGroupId?​

optional pollerGroupId?: string | null

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 to be blocked without receiving a task while the queue actually has tasks in another server location.


taskQueue?​

optional taskQueue?: $Properties | null

PollActivityTaskQueueRequest taskQueue


taskQueueMetadata?​

optional taskQueueMetadata?: $Properties | null

PollActivityTaskQueueRequest taskQueueMetadata


workerControlTaskQueue?​

optional workerControlTaskQueue?: string | null

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?: string | null

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?: $Properties | null

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.