Albumen Kevin
Albumen Kevin
> com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/instance after all servers([127.0.0.1:8848]) tried: would you please provide more detailed information such as nacos-client version
@RysisLiang > 我也遇到了类似的问题。消费服务启动后,servlet接受不到请求 Here I am not very clear about the specific situation you encountered, would you please create a new issue to describe about this?
> Hi, is anyone working on this? If not, I can start working on it if you provide more details. go ahead
还有一个问题是 ServiceBean 的 unexport 方法是谁调用的,理论上用户不会直接使用 ServiceBean 的,一般都是使用的 ReferenceConfig。如果 ServiceBean 的 unexport 是来自框架的调用,那么应该由外面的销毁管理器来统一清理。 这里有一个依赖关系是 ModuleModel => ConfigManager => ReferenceConfig,理论上是不应该由后级直接向前级直接发起调用的(一些特殊场景除外,但是要尽量减少这种场景),否则会很容易出现循环依赖。
> 我这边要做的就是service和ref的一个热加载的功能,service mesh里面控制面肯定也是需要这块的 这里在 3.0 的最新版本中,最好是和 ModuleModel 一起来做的,一次热发布绑定到 ModuleModel 的生命周期。目前 Spring Context 也支持绑定到 ModuleModel 上,在 Spring Context 关闭后也会自动关闭 ModuleModel,然后连带清理环境。当然单个的 Config 也是支持独立热发布的。 > ModuleModel => ConfigManager => ServiceConfig 这里想到一个方式,是否可以 ServiceConfig 向...
多实例化改造之后ModuleModel持有了 ConfigManager 和 ServiceRepository。和配置相关的放在 ConfigManager,和发布后服务相关的放在 ServiceRepositorory。Deployer 直接存储 exportedService 应该是有问题,最后都要收口到 ConfigManager 和 ServiceRepository。
Please add ASF license header to all files.
Related with #10303
可以在报错的时候打下断点,看下 at org.apache.dubbo.registry.client.InstanceAddressURL.getServiceNumbers(InstanceAddressURL.java:448) ~[dubbo-3.0.3.jar!/:3.0.3] 这里的 protocolServiceKey 是什么吗(是新发布的服务吗,或者是服务端还没发布的服务)
另外可以试下 3.0.9 版本是不是也有问题