Azure 服务总线:如何向主题发布超过 256KB 的消息?

Azure Service Bus: How to publish more than 256KB message to a Topic?

我是老派 Windows Azure 架构师。使用服务总线主题将消息传递给工作者角色。

How to publish more thank 256KB message to a subscription? I know there is a premium tier service bus which allows 1MB message, but 1MB limit will may also not be enough.

如果您尝试发送超过 256KB/1MB 的 消息 并避免声明检查模式,那么我在质疑设计。 ASB 是关于消息传递,而不是数据传输。

当前的 ASB 客户端 (WindowsAzure.ServiceBus) 并没有使声明检查模式的实现变得微不足道,事实上。好消息是,有了新客户端 (Microsoft.Azure.ServiceBus),事情就简单多了。您可以利用扩展 API 并使用 ServiceBus.AttachmentPlugin 提供的声明检查模式实现或扩展它并允许利用多个存储帐户。