Skip to content

Warn if the SDK tried to send a payload above a specific size #701

Open
3 of 3 issues completed
Open

Description

@Quinn-With-Two-Ns

Is your feature request related to a problem? Please describe.

Currently Temporal has limits on the max payload size that can be used for operations like starting a workflow or signalling a workflow. If a user hits this limit the request will fail. Currently the Temporal server warns when it detects a payload, but this log is emitted on the server so isn't visible to users who are not hosting Temporal.

Describe the solution you'd like

Warn if the SDK detects a payload above a certain size (default 512 KB) like the Temporal server does today. This should be applied last after any codec. users should have a clear way to change the threshold for the warning and turn if off.

Additional context

https://docs.temporal.io/cloud/limits#transaction-payload-size-limit

Per-SDK Tickets

Sub-issues

Sub-issues

3 of 3 Issues completed
Loading 3 sub-issues

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions