Skip to content

Max batch sizes don't allow for headers #1

@davidbending

Description

@davidbending

The maximum size of batches in SendPartitionedBatchAsync for queues and topics sets a maximum size of 256k, but this doesn't allow any space for the header. Because i have a couple of message headers I'm getting:

A request from the client instance has exceeded the maximum message size, and the underlying channel will be recreated. Validate the content size before retrying.

I've fixed up my code by allowing for up to 32k of header but this is something other people might want to be aware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions