I have a Temporal Activity that pulls data from an external source can takes upwards of >40 sec or many minutes to complete. Currently, my Temporal Activity runs into an activity timeout
error regularly.
"activity timeout"
What are the best practices for implement this long-running Activity so that it does not run into a “context exceeded” or “activity timeout” error?
I have changed a number of the Timeout Settings within the Workflow and Activities
(ex. WorkflowTaskTimeout
, WorkflowRunTimeout
, WorkflowExecutionTimeout
, StartToCloseTimeout
, ScheduleToCloseTimeout
, ScheduleToStartTimeout
) to >10min (to simulate allowing a long-running Activity) and unfortunately still get an activity timeout
.
Which of the Timeout Settings should be set to allow for a long-running activity within a Workflow?
In addition, generally, what is the best way to support this Long-running activity, without a Timeout?