How to disable eureka lookup on specific @FeignClient

跟風遠走 提交于 2019-12-05 17:38:09

In spring-cloud-netflix 1.2.0 (part of the Camden release train), the ability to set the server list implementation was recently added.

You'll be able to do the following:

externalServers:
  ribbon:
    NIWSServerListClassName: com.netflix.loadbalancer.ConfigurationBasedServerList
    listOfServers: server1:18201,server2:18201

Probably released sometime in August or September.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!