Open ssfyn opened 9 months ago
Can you check the metadata information in Zookeeper?
Can you check the metadata information in Zookeeper?
ListenServiceNodeEvent->listenSelf(zk path{/services/dubbo-go-demo/192.168.128.161:20000}) goroutine exit now
dubbo go version: 3.3.1 ??
dubbo go version: 3.3.1 ??
sorry, is v3.1.1-rc1
you should set metadata type to remote,otherwise it will not publish metadata to metadata center
rootConfigBuilder := config.NewRootConfigBuilder()
cb := rootConfigBuilder.
SetApplication(config.NewApplicationConfigBuilder().
SetName("dubb").
SetMetadataType("remote"). // this line
Build(),
)
you should set metadata type to remote,otherwise it will not publish metadata to metadata center
rootConfigBuilder := config.NewRootConfigBuilder() cb := rootConfigBuilder. SetApplication(config.NewApplicationConfigBuilder(). SetName("dubb"). SetMetadataType("remote"). // this line Build(), )
看代码MetadataType的remote,好像只有service_discovery时才被使用到,service_discovery好像在应用级服务发现中才生效,是这样么?
you should set metadata type to remote,otherwise it will not publish metadata to metadata center
rootConfigBuilder := config.NewRootConfigBuilder() cb := rootConfigBuilder. SetApplication(config.NewApplicationConfigBuilder(). SetName("dubb"). SetMetadataType("remote"). // this line Build(), )
看代码MetadataType的remote,好像只有service_discovery时才被使用到,service_discovery好像在应用级服务发现中才生效,是这样么?
The v3.1.1-rc1 version of metadata is also used in dubbo-admin. Part of it is used for application-level service discovery, and part of it is used by admin.
我这里zk里面注册了metadata,但是dubbo-admin依然无法识别
Environment
go config
https://github.com/apache/dubbo-admin/issues/1262