Skip to content
Merged
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
10 changes: 10 additions & 0 deletions rules/TMPRL1103.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@ The size of a payload or collection of payloads has exceed configured size limit

## Description

By default, the SDK will check the size of payloads as they move throughout workflows, activities, and Nexus operations. The SDK will log warnings if the size of the payloads are over the warning limit and throw exceptions or return errors if they are over the error limit.

The error limit is only enforced within workers when attempting to submit messages to the Temporal server and they exceed the error limits as described by the server. When the error limit is exceeded, the worker task is proactively failed instead of sending the large payload to the server. This helps the server to prevent excessive resource usage and avoid potential performance issues when handling large payloads. Additionally, failing the task allows the task to be retried instead of failing the associated workflow.

## Remediation

To resolve this error, reduce the size of the payload so that it is below the error limit.

Refer to https://docs.temporal.io/troubleshooting/blob-size-limit-error for further information about payload error limits and strategies to reduce payload sizes.

Customers who use gRPC proxies that alter payloads before they are passed to the server (e.g. encrypting payloads, offloading to external storage, etc) should disable the error limit check in their workers. Please refer to the worker option documentation for the SDK on how to disable this behavior.
Loading