Skip to content

[BUG] No way to set the max payload size in Python SDK #1023

@alicejgibbons

Description

@alicejgibbons

Expected Behavior

In other SDKs (eg Java: https://docs.dapr.io/developing-applications/sdks/java/java-client/properties/#grpc-configuration) you can override the max body size of payloads coming inbound to Dapr applications from Dapr APIs. This is not supported in Python today.

This is also set "outbound" via Dapr annotations: https://docs.dapr.io/reference/arguments-annotations-overview/ --max-body-size.

For workflows and other APIs with large payloads this value is 4MB by default. Need to add support for something along the lines of DAPR_GRPC_MAX_INBOUND_MESSAGE_SIZE_BYTES.

Release Note

RELEASE NOTE: Support DAPR_GRPC_MAX_INBOUND_MESSAGE_SIZE_BYTES

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions