Interface: IShutdownWorkerRequest
Properties of a ShutdownWorkerRequest.
Extends
Properties
identity?
optionalidentity?:string|null
ShutdownWorkerRequest identity
Inherited from
namespace?
optionalnamespace?:string|null
ShutdownWorkerRequest namespace
Inherited from
reason?
optionalreason?:string|null
ShutdownWorkerRequest reason
Inherited from
stickyTaskQueue?
optionalstickyTaskQueue?:string|null
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
taskQueue?
optionaltaskQueue?:string|null
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
taskQueueTypes?
optionaltaskQueueTypes?:TaskQueueType[] |null
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
workerHeartbeat?
optionalworkerHeartbeat?:$Properties|null
ShutdownWorkerRequest workerHeartbeat
Inherited from
workerInstanceKey?
optionalworkerInstanceKey?:string|null
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.