Skip to content

使用group作为环境隔离,正常环境访问问题 #9748

@IceNiro

Description

@IceNiro

目前使用group做环境隔离
需求:
当迭代环境中未部署对应的服务是,需要去调用稳定环境;若有部署对应服务,则调用迭代环境的提供者。
方案:
1 稳定环境提供者和消费者都没有group标记
2 迭代环境对应提供者的group标记;消费使用通配符 *
问题:
因为 消费者 使用 通配符 会触发 toMergeInvokerList;但是只存在一个稳定环境的提供者,会默认使用 MergeableClusterInvoker 调用且无法拓展;然后 会出现 :Not found exported service: */com.xxxx.xxxx.ucenter

可以如何解决这个问题?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementEverything related with code enhancement or performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions