在逻辑应用程序中将消息发送到服务总线主题时,有什么方法可以对消息进行分块?

时间:2020-05-12 10:02:10

标签: azure azureservicebus azure-logic-apps azure-servicebus-topics

我有一个逻辑应用程序,并使用service bus connector

将消息发送到服务总线

当消息超过1mb时,我的错误率低于--

{
  "status": 400,
  "message": "A request has exceeded the maximum message size for 'demo.servicebus.windows.net' Service Bus namespace and 'demo' entity. Validate the content size before retrying.",
  "error": {
    "message": "A request has exceeded the maximum message size for 'demo.servicebus.windows.net' Service Bus namespace and 'demo' entity. Validate the content size before retrying."
  }
}

有什么办法可以处理这种情况?

1 个答案:

答案 0 :(得分:0)

假设您已经从我共享的文档中得到了结果:Service Bus Premium and Standard messaging tiers

这两个服务总线消息传递层旨在服务于不同的用例,但是,两者对消息大小都有限制。

  • 高级:邮件大小最大为1 MB
  • 标准:邮件大小最大为256 KB