Closed foreveryang321 closed 6 years ago
我也被这问题困扰着
Duplicated with #30
Next release will resolve this issue
Now https://github.com/alibaba/dubbo/milestone/13 is released. dubbo 2.6.1 has fixed this bug
You can manually modify the Dubbo version to 2.6.1 first
OK, Thanks
dubbo-spring-boot-starter.0.2.0.jar dubbo.2.6.2.jar
application.yml
dubbo:
consumer:
check: false
调用ConfigUtils.replaceProperty(properties.getProperty(key, defaultValue), (Map) properties)读取配置时,返回 null,java.util.Properties.getProperty源码如下
dubbo 2.7.5 也出现这个问题呢
dubbo 2.7.6 也有这个问题啊
dubbo-spring-boot-starter.0.1.0.jar
其中protocol.port,provider和consumer配置均不生效
不知道是否与PropertySourcesUtils类中只会把String类型的属性放到subProperties中有关?
数值通过加单引号(''),能够正确获取到值。 从这个看,数值类型,boolean值类型的配置都不会生效