Open az2az opened 4 months ago
使用的dubbo-go版本是3.2.0-rc1。3.1.1的版本不存在此问题
我查看了现有的实现, 一种可能的解决办法是,更改yaml的声明方式:
dubbo:
registries:
demoZK:
protocol: nacos
timeout: 10s
address: 127.0.0.1:8848
protocols:
tripleProtocol:
name: tri
port: 20000
provider:
filter: ValidateFilter
services:
GreetTripleServer:
interface: com.apache.dubbo.sample.Greeter
感谢指导,确实是,调一下位置就可以了。
这个 issue 不要 close,我已经打标 ”good first issue“
@AlexStocks can I pick this up?
can I pick this up?
Welcome.
Environment
Issue description
使用dubbo-go-samples 的config_yaml测试用例,发现使用配置文件加载filter时,不生效,而使用代码的方式加载能生效(以下代码,使用Load()可以正常使用filter,而LoadByConfig()则filter不生效)。
###############配置如下所示######################
Logs
Click me to check logs
``` Copy logs to here. ```