Skip to content
18 changes: 18 additions & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,11 @@ message PollWorkflowTaskQueueRequest {
// 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.
string worker_instance_key = 8;

// A dedicated per-worker Nexus task queue on which the server sends control
// tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 9;

// Deprecated. Use deployment_options instead.
// Each worker process should provide an ID unique to the specific set of code it is running
// "checksum" in this field name isn't very accurate, it should be though of as an id.
Expand Down Expand Up @@ -385,6 +390,14 @@ message RespondWorkflowTaskCompletedRequest {
// Worker deployment options that user has set in the worker.
temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;

// 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.
string worker_instance_key = 19;

// A dedicated per-worker Nexus task queue on which the server sends control
// tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;

// SDK capability details.
message Capabilities {
// True if the SDK can handle speculative workflow task with command events. If true, the
Expand Down Expand Up @@ -450,6 +463,11 @@ message PollActivityTaskQueueRequest {
// 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.
string worker_instance_key = 8;

// A dedicated per-worker Nexus task queue on which the server sends control
// tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 9;

temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
// Information about this worker's build identifier and if it is choosing to use the versioning
// feature. See the `WorkerVersionCapabilities` docstring for more.
Expand Down
Loading