Spring Boot + Eureka Server + Hystrix with Turbine: empty turbine.stream 配置的时候遇到了问题:

Property or field 'default' cannot be found on object of type 'com.netflix.appinfo.InstanceInfo' - m

原配置:

turbine:
app-config: eureka-consumer-ribbon-hystrix
cluster-name-expression: “default”
combine-host-port: true

解决方案

turbine:
app-config: eureka-consumer-ribbon-hystrix
cluster-name-expression: new String('default')
combine-host-port: true

posted on 2018-10-26 18:32  毛会懂  阅读(596)  评论(0编辑  收藏  举报