FoghostCn commented on issue #2588:
URL: https://github.com/apache/dubbo-go/issues/2588#issuecomment-2054371222

   > > you should set metadata type to remote,otherwise it will not publish 
metadata to metadata center
   > > ```go
   > > rootConfigBuilder := config.NewRootConfigBuilder()
   > > cb := rootConfigBuilder.
   > >   SetApplication(config.NewApplicationConfigBuilder().
   > >    SetName("dubb").
   > >    SetMetadataType("remote"). // this line
   > >    Build(),
   > >   )
   > > ```
   > 
   > 
看代码MetadataType的remote,好像只有service_discovery时才被使用到,service_discovery好像在应用级服务发现中才生效,是这样么?
   
   v3.1.1-rc1 版本的 metadata 在 dubbo-admin 中也有用到,一部分是给应用级服务发现用的,一部分是给 admin 用的


-- 
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

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