zuonidelaowang commented on issue #9306: URL: https://github.com/apache/dubbo/issues/9306#issuecomment-978847330
> 你这个还是基于接口级别的注册吧? 你看看你的服务里面,是不是还有很多接口级别的服务? > > > > > > > 这个是元数据信息 > > > > > > > > > > > > > > > > > > 要保留吗, 我看nacos每个命名空间有200个配置文件的限制, 现在dubbo都用了50个, 后面可能会更多 > > > > > > > > > > > > > > > 我按这个方式使用,没有发现有问题。使用的是dubbo3.0.4版本 > > > > > ``` > > > > > dubbo: > > > > > registry: > > > > > address: nacos://xxx:8848 > > > > > username: > > > > > password: > > > > > use-as-metadata-center: false > > > > > ``` > > > > > > > > > > > > 那你这个还是基于接口级别的注册,你试试加入这个配置,consumer 还能不能正常启动 > > > > ``` > > > > dubbo: > > > > registry: > > > > address: nacos://${nacos.server}?registry-type=service > > > > ``` > > > > > > > > > 不行我会报错 No provider available from registry 10.xx.xx.123:8848 for service com.xxx.comn.service.rate.IBasisCurrencyRateSV on consumer 10.xx.xx.122 use dubbo version 2.7.8, please check status of providers(disabled, not registered or in blacklist). > > > > > > 找不到provider ,我也是,但是我看他们说最新版已经不会写入配置文件到 配置中心了,不知道怎么配置。自动生成一大堆配置文件到nacos, 直接超过nacos上限了。 > > 这样注册dubbo就不会往config里面写入了 > > ```yaml > dubbo: > application: > name: ${spring.application.name} > registry: > address: nacos://${spring.cloud.nacos.discovery.server-addr} > parameters[namespace]: ${spring.cloud.nacos.discovery.namespace} > use-as-metadata-center: false > use-as-config-center: false > consumer: > # 关闭所有服务的启动时检查 (没有提供者时报错) > check: false > protocol: > name: dubbo > port: -1 > ``` 你这个还是基于接口级别的注册吧? 你看看你的服务里面,是不是还有很多接口级别的服务? -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org