Skip to content

Only one of the multiple registration centers using nacos can register #5297

@liunancun

Description

@liunancun
  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.4.1
  • Operating System version: Window7
  • Java version: JDK8

Steps to reproduce this issue

  1. Use nacos as a registration center
  2. The configuration of application.properties is as follows
    dubbo.registries.one.address=nacos://192.168.99.237:8848
    dubbo.registries.two.address=nacos://192.168.99.237:8848?namespace=9f0825ac-0a6a-4907-b5ee-34530ce828b1
  3. Register the service under the different namespaces of nacos

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

Services exist in different namespaces

Actual Result

The service only exists in the first registered namespace

Is it because ip is the same as the port, but the namespace is different, is it considered to be caused by repeated registration?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions