Skip to content

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

@Quinn-With-Two-Ns

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

  • Go -
  • Java -
  • Core -
  • TypeScript -
  • Python -
  • .NET -
  • Ruby -
  • PHP -
  • Temporal CLI -

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions