开发者社区 > 云原生 > 正文

limitApp字段多个用 , 号分割不起作用

Comma separator (,) does not take effect in limitApp field of rules.

limitApp 字段多个用 , 号分割不起作用,但是看注释

/**
 * <p>
 * Application name that will be limited by origin.
 * Multiple application name can be separated with comma (',').
 * </p>
 * <p>The default limitApp is `default`, which means allowing all origin apps.</p>
 * <p>For example: limitApp = `appA,appB` will limit requests from appA and appB.</p>
 */
private String limitApp;

1.3.0-GA 1.4.0-SNAPSHOT dubbo 2.6.4 springboot 2.0.6

原提问者GitHub用户ilaotan

展开
收起
码字王 2023-05-19 19:31:39 1355 0
1 条回答
写回答
取消 提交回答
  • 逗号分隔符(,)仅在AuthorityRule中生效。对于流量规则,您必须为每个limitApp创建多个规则。我们将修复错误的评论。感谢您的报道。

    原回答者GitHub用户sczyh30

    2023-05-19 22:46:26
    赞同 展开评论 打赏
问答分类:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载