wzkris opened a new issue, #15114:
URL: https://github.com/apache/dubbo/issues/15114

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Dubbo Version
   
   dubbo-spring-boot-starter V3.3.3
   
   config:
   `dubbo:
     protocol:
       name: dubbo
       port: -1
     application:
       logger: slf4j
       # 元数据中心 local 本地 remote 远程 这里使用远程便于其他服务获取
       metadataType: remote
       # 可选值 interface、instance、all,默认是 all,即接口级地址、应用级地址都注册
       register-mode: instance
       service-discovery:
         migration: FORCE_APPLICATION
     # 注册中心配置
     registry:
       address: nacos://${spring.cloud.nacos.server-addr}
       register-mode: instance
       group: DUBBO_GROUP
       username: ${spring.cloud.nacos.username}
       password: ${spring.cloud.nacos.password}
       parameters:
         namespace: dubbo-dev
     # 消费者相关配置
     consumer:
       # 结果缓存(LRU算法)
       # 会有数据不一致问题 建议在注解局部开启
       cache: false
       # 支持校验注解
       validation: jvalidationNew
       # 调用重试 不包括第一次 0为不需要重试
       retries: 0
       # 初始化检查
       check: false
   `
   It will register application-dev namespace which is my application namespace.
   
   
![Image](https://github.com/user-attachments/assets/2e1e92e6-2e79-4222-8ecc-c08e90ce29bd)
   
   Strangely, with the same configuration, I can register to the correct 
namespace in another program.
   
   
![Image](https://github.com/user-attachments/assets/438b6a5d-2b99-4124-b7a0-b006586ae642)
   
   ### Steps to reproduce this issue
   
   Create a springboot project using mine config
   
   ### What you expected to happen
   
   look second picture
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to