0
這裏是我的application.properties
:春雲絲帶:負載平衡器規則配置不起作用
spring.application.name=person
server.port=8080
eureka.client.service-url.defaultZone=http://localhost:8761/eureka
# this line of config doesn't work
person.ribbon.NFLoadBalancerRuleClassName=asdfasdfasdf
通過設置person.ribbon.NFLoadBalancerRuleClassName
到asdfasdfasdf
應該有控制檯輸出顯示了一些錯誤,但有沒有,這意味着這個配置沒有按沒有工作。我不知道發生了什麼事。
下面是相關性:
彈簧雲的版本是Brixton.SR3
,
您正在使用什麼版本? – spencergibb
@spencergibb Brixton.SR3 – Neo