Azure服务总线: Can't add rules to a subscription under Topics with partitioning enabled?

标签 azure azureservicebus

我有一个启用了分区的 Azure 服务总线主题。我可以在该主题下以编程方式创建订阅,但是当我尝试添加自定义规则时,出现以下异常:

"The operation is not supported for an entity with partitioning enabled."

我的代码只是使用 SubscriptionClient 的 AddRule 方法和 RuleDefinition。顺便说一句,如果主题未分区,我没有任何问题。

最佳答案

好的,我解决了这个问题。基本上,当主题分区时,您无法为订阅创建规则。

关于Azure服务总线: Can't add rules to a subscription under Topics with partitioning enabled?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27584817/

相关文章:

dns - 使用 CNAME 重定向登录到 Azure 部署的 Web 应用程序时出现问题

azure - 部署到 Azure 的服务总线

Java 服务总线共享访问 token

Azure 服务总线 - 结合 SQL 和相关过滤器

azure - azure 函数中出现 Microsoft.WindowsAzure.Storage.dll 版本不匹配错误

azure - 为什么当我通过 Powershell 将 Api 权限上传到 AzureAd 时,我只得到 Id?

c# - Azure 服务总线广播到所有辅助角色实例

Java:Azure服务总线队列通过 session 接收消息

java - 检查数据库数据

Azure 模拟器部署 dll 位置