Interface: $Properties
Properties of a ShutdownWorkerRequest.
Extended by
Properties
identity?
optionalidentity?:string|null
ShutdownWorkerRequest identity
namespace?
optionalnamespace?:string|null
ShutdownWorkerRequest namespace
reason?
optionalreason?:string|null
ShutdownWorkerRequest reason
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.
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.
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.
workerHeartbeat?
optionalworkerHeartbeat?:$Properties|null
ShutdownWorkerRequest workerHeartbeat
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.