Skip to main content

Service

Service options apply to all Temporal resources defined within an individual protobuf service.

example.proto
syntax="proto3";

package example.v1;

import "temporal/v1/temporal.proto";

service Example {
option (temporal.v1.service) = {
task_queue: "example-v1"
};
}

Options

patches

[]temporal.v1.Patch

Controls how a particular Patch is implemented in generated code, overriding any plugin-level configuration for all resources of the service.

service Example {
option (temporal.v1.service) = {
patches: [
{ version: PV_62, mode: PV_REMOVED },
{ version: PV_63, mode: PV_MARKER },
{ version: PV_64, mode: PV_ENABLED },
{ version: PV_65, mode: PV_DISABLED }
]
};
}

task_queue

string

Specifies the default Task Queue name.

service Example {
option (temporal.v1.service) = {
task_queue: 'example-v1'
};
}