You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "helloy0920 (via GitHub)" <gi...@apache.org> on 2023/03/04 09:10:31 UTC

[GitHub] [dubbo] helloy0920 commented on issue #11722: metadata-type=local local - Provider怎么配置

helloy0920 commented on issue #11722:
URL: https://github.com/apache/dubbo/issues/11722#issuecomment-1454672073

   配置如下:
   dubbo:
     application:
       name: ${spring.application.name}
       logger: slf4j
       metadata-type: remote
       register-consumer: true
       register-mode: instance
       service-discovery:
         migration: FORCE_APPLICATION
       qosEnable: true
       qosPort: 33334
     registry:
       address: nacos://127.0.0.1:8848
       group: dubbo-${spring.profiles.active}
       use-as-config-center: false
       use-as-metadata-center: false
       register-mode: instance
       register: true
       subscribe: true
       parameters:
         registry-type: service
   =========================
   
    我把   use-as-metadata-center 设置为false,不把注册中心当元数据中心,也不配元数据中心, consumer 就 直接NoProvider 了,我理解应该是去注册中心找的订阅的服务地址,然后调用MetaDataService获取元数据, 是我理解有问题还是配置有问题 dubbo版本3.1.7


-- 
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-unsubscribe@dubbo.apache.org

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


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