I am trying to pass data between multiple Temporal Activities within a Workflow, using the go-sdk. The data being passed at the point the activity fails, if serialized to json, creates a json object that is ~2-5MB in size.
My Activity fails with the following
Complete result exceeds size limit.
Additionally, at the workflow level, the following error is also returned
ScheduleActivityTaskCommandAttributes.Input exceeds size limit.
Upon reading Find cause of "Complete result exceeds size limit" error, this error looks to be the same/similar error - I may be hitting the 2MB BlobSizeLimitError error.
– A couple of questions here –
What is happening under the hood in Temporal, such that I would hit the 2MB BlobSizeLimit if I am passing in and returning a large object into the
And secondly, what would you recommend that I do to resolve this error, if I need to pass relatively large amounts of data (~2MB to 20MB in size when serialized to json) between different Temporal Activities?
The code in the Temporal Workflow of the Activity that encounters the
Complete result exceeds size limit. error is below.
var Res *QueryResponse err := workflow.ExecuteActivity(ctx, RunQuery).Get(ctx, &Res)