jihanchen888 commented on issue #12337:
URL: https://github.com/apache/dubbo/issues/12337#issuecomment-1557210069
dubbo版本:3.1.7
使用的官方框架内部的demo工程。提供者:dubbo-demo-spring-boot-provider
消费者:dubbo-demo-spring-boot-consumer (消费者改了下在main函数中循环调用doSayHello)
提供者配置: application.yml
dubbo:
application:
metadata-type: local
name: dubbo-springboot-demo-provider
protocol:
name: dubbo
port: -1
registry:
id: zk-registry
address: zookeeper://127.0.0.1:2181
config-center:
address: nacos://127.0.0.1:8848
metadata-report:
address: zookeeper://127.0.0.1:2181
消费者配置: application.yml
dubbo:
application:
service-discovery:
migration: FORCE_APPLICATION
name: dubbo-springboot-demo-consumer
protocol:
name: dubbo
port: -1
registry:
id: zk-registry
address: zookeeper://127.0.0.1:2181
config-center:
address: nacos://127.0.0.1:8848
metadata-report:
address: zookeeper://127.0.0.1:2181
nacos中的配置项:
dataId: dubbo-springboot-demo-consumer.configurators groupId:dubbo
configVersion: v3.1.7
scope: application
key: dubbo-springboot-demo-consumer
enabled: true
configs:
- addresses: ["0.0.0.0"]
side: consumer
parameters:
timeout: 50001
retries: 9
- addresses: ["0.0.0.0:20880"]
side: provider
parameters:
actives: 10
测了下基本的timeout参数也不支持动态刷新生效,是我使用方式有问题吗?
另外消费端我开启接口级订阅,对一些参数好像也没法做到动态刷新,比如cluster,retries
--
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]