wangxw666 opened a new issue #1316:
URL: https://github.com/apache/dubbo-go/issues/1316
```
func NewRegistryDirectory(url *common.URL, registry registry.Registry)
(cluster.Directory, error) {
dir := &RegistryDirectory{
BaseDirectory: directory.NewBaseDirectory(url),
cacheInvokers: []protocol.Invoker{},
cacheInvokersMap: &sync.Map{},
serviceType: url.SubURL.Service(),
registry: registry,
}
....
dir.consumerConfigurationListener =
newConsumerConfigurationListener(dir)
go dir.subscribe(url.SubURL)
return dir, nil
}
```
每个服务一个RegistryDirectory,但是consumerConfigurationListener应该是应用级别的
--
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]