Get desktop application:
View/edit binary Protocol Buffers messages
Cancel an activity if it is still running. Otherwise, do nothing.
Used in:
Result of a CancelActivityCommand. Treat both successful cancellation and no-op (activity is no longer running) as success.
Used in:
(message has no fields)
Used in: ,
The name of the plugin, required.
The version of the plugin, may be empty.
Used in: ,
The type of the driver, required.
A command sent from the server to a worker.
Used in:
The result of executing a WorkerCommand.
Used in:
Worker info message, contains information about the worker and its current state. All information is provided by the worker itself. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: Removing those words make names less clear. --)
Used in: , , ,
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
Worker host information.
Task queue this worker is polling for tasks.
Worker status. Defined by SDK.
Worker start time. It can be used to determine worker uptime. (current time - start time)
Timestamp of this heartbeat, coming from the worker. Worker should set it to "now". Note that this timestamp comes directly from the worker and is subject to workers' clock skew.
Elapsed time since the last heartbeat from the worker.
A Workflow Task found a cached Workflow Execution to run against.
A Workflow Task did not find a cached Workflow execution to run against.
Current cache size, expressed in number of Workflow Executions.
Plugins currently in use by this SDK.
Storage drivers in use by this SDK.
Holds everything needed to identify the worker host/process context
Used in:
Worker host identifier.
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
System used CPU as a float in the range [0.0, 1.0] where 1.0 is defined as all cores on the host pegged.
System used memory as a float in the range [0.0, 1.0] where 1.0 is defined as all available memory on the host is used.
Detailed worker information.
Used in: ,
Limited worker information returned in the list response. When adding fields here, ensure that it is also added to WorkerInfo (as it carries the full worker information).
Used in:
Worker identifier, should be unique for the namespace. It is distinct from worker identity, which is not necessarily namespace-unique.
Worker identity, set by the client, may not be unique. Usually host_name+(user group name)+process_id, but can be overwritten by the user.
Task queue this worker is polling for tasks.
Worker status. Defined by SDK.
Worker start time. It can be used to determine worker uptime. (current time - start time)
Worker host identifier.
Worker grouping identifier. A key to group workers that share the same client+namespace+process. This will be used to build the worker command nexus task queue name: "temporal-sys/worker-commands/{worker_grouping_key}"
Worker process identifier. This id only needs to be unique within one host (so using e.g. a unix pid would be appropriate).
Plugins currently in use by this SDK.
Storage drivers in use by this SDK.
Used in:
Number of polling RPCs that are currently in flight.
Set true if the number of concurrent pollers is auto-scaled
Used in:
Number of slots available for the worker to specific tasks. May be -1 if the upper bound is not known.
Number of slots used by the worker for specific tasks.
Kind of the slot supplier, which is used to determine how the slots are allocated. Possible values: "Fixed | ResourceBased | Custom String"
Total number of tasks processed (completed both successfully and unsuccesfully, or any other way) by the worker since the worker started. This is a cumulative counter.
Total number of failed tasks processed by the worker so far.
Number of tasks processed in since the last heartbeat from the worker. This is a cumulative counter, and it is reset to 0 each time the worker sends a heartbeat. Contains both successful and failed tasks.
Number of failed tasks processed since the last heartbeat from the worker.