Skip to content

nacos作为注册中心时,条件路由配置不起作用 #522

@manbab

Description

@manbab

dubbo2.7版本,使用nacos作为注册和配置中心
nacos.address = 192.168.0.204:8868
nacos.dataId = EsMobileServerLauncher
nacos.namespace = 18439051-b8bb-471c-950e-49adbdffb455
dubbo.registry.address = nacos://192.168.0.204:8868?namespace=18439051-b8bb-471c-950e-49adbdffb455
条件路由设置如下
conditions:

  • => host != 192.168.0.206
    enabled: true
    force: true
    key: com.everstar.mobile.service.INetEventService:1.0.0
    priority: 0
    runtime: true
    scope: service

最后发现还是再206上执行了,这条规则没有产生效果
请问如何配置才能生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions