Heartbeat size limitations

Hello!

Could you please clarify if heartbeats have some limitation on its size?
My use case is I want to aggregate some big payload from results of other activities and store it to ext storage. Operation could be pretty long, so I want to use heartbeat as temporal storage. But I’m not sure if it allows to store big objects inside it.

Thanks in advance

Hello @Valery

The size limit is 2MB, please see Blob size limit Temporal Platform limits sheet | Temporal Documentation

I think you can use Go SDK session feature to store data temporarily (instead of heartbeat):