You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When large message support is enabled, the standard message size limit is still applied to batched messages. At the time of writing, the Service Bus service rejects any batch larger than 1MB regardless of the configured maximum message size. Because the service communicates only the maximum message size allowed by the AMQP link, the client library is unable to set the actual limit on the batch, allowing developers to create batches that can never successfully be sent.
There is an open request for the service to add a new link property that exposes the maximum message batch size on an AMQP link so that callers can dynamically discover the service limits.
Current work-around
The constructor for AmqpSender is currently hardcoding the 1mb limit in order to ensure that the client library does not allow callers to create batches which cannot be successfully published.
Scope of work
Update AmqpSender to consume the maximum message batch size when a link is opened, following the same pattern used for the maximum message size, setting the MaxBatchSize property.
Success criteria
The MaxBatchSize property of AmqpSender is populated dynamically from AMQP link metadata and is updated each time a link is opened.
The Service Bus live test suite continues to pass reliably.
Problem statement
When large message support is enabled, the standard message size limit is still applied to batched messages. At the time of writing, the Service Bus service rejects any batch larger than 1MB regardless of the configured maximum message size. Because the service communicates only the maximum message size allowed by the AMQP link, the client library is unable to set the actual limit on the batch, allowing developers to create batches that can never successfully be sent.
There is an open request for the service to add a new link property that exposes the maximum message batch size on an AMQP link so that callers can dynamically discover the service limits.
Current work-around
The constructor for AmqpSender is currently hardcoding the 1mb limit in order to ensure that the client library does not allow callers to create batches which cannot be successfully published.
Scope of work
MaxBatchSize
property.Success criteria
MaxBatchSize
property ofAmqpSender
is populated dynamically from AMQP link metadata and is updated each time a link is opened.References and related
The text was updated successfully, but these errors were encountered: