Skip to main content

Interface: IShutdownWorkerRequest

workflowservice.v1.IShutdownWorkerRequest

Properties of a ShutdownWorkerRequest.

Hierarchy

Properties

identity

Optional identity: null | string

ShutdownWorkerRequest identity

Inherited from

$Properties.identity


namespace

Optional namespace: null | string

ShutdownWorkerRequest namespace

Inherited from

$Properties.namespace


reason

Optional reason: null | string

ShutdownWorkerRequest reason

Inherited from

$Properties.reason


stickyTaskQueue

Optional stickyTaskQueue: null | string

sticky_task_queue may not always be populated. We want to ensure all workers send a shutdown request to update worker state for heartbeating, as well as cancel pending poll calls early, instead of waiting for timeouts.

Inherited from

$Properties.stickyTaskQueue


taskQueue

Optional taskQueue: null | string

Task queue name the worker is polling on. This allows server to cancel all outstanding poll RPC calls from SDK. This avoids a race condition that can lead to tasks being lost.

Inherited from

$Properties.taskQueue


taskQueueTypes

Optional taskQueueTypes: null | TaskQueueType[]

Task queue types that help server cancel outstanding poll RPC calls from SDK. This avoids a race condition that can lead to tasks being lost.

Inherited from

$Properties.taskQueueTypes


workerHeartbeat

Optional workerHeartbeat: null | $Properties

ShutdownWorkerRequest workerHeartbeat

Inherited from

$Properties.workerHeartbeat


workerInstanceKey

Optional workerInstanceKey: null | string

Technically this is also sent in the WorkerHeartbeat, but since worker heartbeating can be turned off, this needs to be a separate, top-level field.

Inherited from

$Properties.workerInstanceKey