Provide limit on the Message.Size
that the Azure Message Pump can process
#114
Labels
area:message-processing
All issues related to how we process the messages
area:security
All issues related to security
enhancement
New feature or request
feature-request
All issues related to feature requests by customers
integration:service-bus
All issues concerning integration with Azure Service Bus
Is your feature request related to a problem? Please describe.
Maybe we should provide the possibility to provide a maximum size limit in the Azure Service Bus message pump options that can be checked before we go through the message handling logic and maybe overload parsing/deserialization/... It can be an safety check on malicious attempts.
It can then maybe be processed by a fallback message handler instead?
Describe the solution you'd like
A size limit (maybe represent metric units (KB, MB, ...) with an enumeration) in the Azure Service Bus message pump options.
Describe alternatives you've considered
Each message pump implementation and/or message handler should handle and be careful of sizes before parsing.
Additional context
When implementing the CloudEvents background job, we can use this feature to set an appropriate size limit there.
See https://github.com/cloudevents/spec/blob/master/spec.md#size-limits.
The text was updated successfully, but these errors were encountered: