yumosx opened a new issue, #2789:
URL: https://github.com/apache/dubbo-go/issues/2789
在尝试修复 #2670 这个问题的时候, 我发现如果 provider 的名字是 tri 的话, 会创建两个新的 service 一个叫做 heath
service 另外一个叫做 reflect svcice, **然后就是对这两个 service 进行初始化**
在初始化的过程中, 如果 service 的 filter 为空 `""` 那么就会使用 provider的 filter 去初始化话 这两个
service 的 filter, 所以下面这个 ymal 是生效的
```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
```

但是如果单纯的在 service 层面上定义 filter, 那么 tripleProtocol 的2个服务的 filter 都不会被初始化
```yaml
services:
GreetTripleServer:
filter: ValidateFilter
interface: com.apache.dubbo.sample.Greeter
```
所以我想知道, 如果只是单纯在 services 层面去定义 filter, 那么该如何去初始化 tripleProtocol的两个service的
filter?
1. 是继续去服用 service 的
2. 还是直接报错
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]