简体   繁体   English

Azure 服务总线规则名称最大长度

[英]Azure service bus rule name maximum length

I'm trying to publish an event of type Dictionary<string,object> and when i call eventbus.Publish(@event) i got the following error :我正在尝试发布类型为Dictionary<string,object>的事件,当我调用eventbus.Publish(@event)出现以下错误:

  • InnerException {"Entity path 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' exceeds the '50' character limit. (Parameter 'ruleName')"} System.Exception {System.ArgumentOutOfRangeException} InnerException {"实体路径 'System.Collections.Generic.Dictionary`2[System.String,System.Object]' 超出了 '50' 个字符限制。(参数 'ruleName')"} System.Exception {System.ArgumentOutOfRangeException}

Is possible to change the limit of characters of Rule name on Azure service bus?是否可以更改 Azure 服务总线上规则名称的字符限制? Or there is any other way to pass this limitation?还是有其他方法可以通过此限制?

For now this could not be available.目前,这无法使用。 Like Casey Crookston said it's a basic quota listed in the Service Bus quotas .就像 Casey Crookston 所说,这是服务总线配额中列出的基本配额 And if you ever check the AddRule method , you will find it will throw exception if it exceed the 50 characters.如果你检查过AddRule 方法,你会发现如果超过 50 个字符,它会抛出异常。

If you insist the feature, you could go to the azure feedback site and submit this request.如果您坚持使用该功能,则可以转到 azure 反馈站点并提交此请求。 Or vote for the existing advice.或者投票支持现有的建议。 You could vote for this advice: Increase the maximum length of the name of a topic subscription您可以投票支持此建议: 增加主题订阅名称的最大长度

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM