Closed booldesign closed 1 year ago
cc @baiyutang
我看到代码实现是这样的,不知道这里是否可以设置到 tags
明天确定下回复两位
获取Outlook for Androidhttps://aka.ms/AAb9ysg
From: Dup4 @.> Sent: Tuesday, March 21, 2023 7:50:53 PM To: kitex-contrib/registry-consul @.> Cc: baiyutang @.>; Mention @.> Subject: Re: [kitex-contrib/registry-consul] 服务注册时使用了tags,但注册后在consul的meta里 (Issue #6)
我猜可能是因为 注册服务接口https://developer.hashicorp.com/consul/api-docs/agent/service#register-service 里的 Tagshttps://developer.hashicorp.com/consul/api-docs/agent/service#tags 字段是一个 array
― Reply to this email directly, view it on GitHubhttps://github.com/kitex-contrib/registry-consul/issues/6#issuecomment-1477700917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACSILZ7P4G3PEDMUICW2GCDW5GIZ3ANCNFSM6AAAAAAWCGPFZM. You are receiving this because you were mentioned.Message ID: @.***>
我也发现了这个问题,tag注册进去了,但服务发现不能指定到某个tag
我服务注册时使用了tags,但注册后在consul的meta里
在consul的后台,发现在meta里
看了registry-consul代码,tag也是当meta使用的