Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3270,6 +3270,9 @@ message StartActivityExecutionRequest {
temporal.api.common.v1.OnConflictOptions on_conflict_options = 21;
// Time to wait before making the first activity task available for dispatch. This delay is not applied to retry attempts.
google.protobuf.Duration start_delay = 22;
// Request that the first activity task be returned directly in the start response instead of
// being dispatched through a task queue. The server may decline this request.
bool request_eager_execution = 23;
}

message StartActivityExecutionResponse {
Expand All @@ -3279,6 +3282,9 @@ message StartActivityExecutionResponse {
bool started = 2;
// Link to the started activity.
temporal.api.common.v1.Link link = 3;
// The first activity task when eager execution was requested and accepted.
// This is set only for the first attempt of a newly started activity.
PollActivityTaskQueueResponse eager_activity_task = 4;
}

message DescribeActivityExecutionRequest {
Expand Down
Loading