title: Is it possible to use @FeignClient without ribbon?
body: <p>I want to use <code>@FeignClient(url=...)</code> and make it go directly to the given url instead of picking up hosts from ribbon config.</p>
  
  <p>I am aware that in spring-cloud feign comes together with ribbon and eureka by default.</p>
  
  <p>According to this:
  <a href="https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-ribbon.html#spring-cloud-ribbon-without-eureka" rel="nofollow noreferrer">https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-ribbon.html#spring-cloud-ribbon-without-eureka</a>
  it is possible to disable eureka and provide a hardcoded list of hosts  for ribbon, ex:</p>
  
  <pre><code>${serviceId}:
    ribbon:
      listOfServers: ${host}
  </code></pre>
  
  <p>And according to this:
  <a href="https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-feign.html" rel="nofollow noreferrer">https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-feign.html</a>
  it is possible to provide an explicit url for feign, ex:</p>
  
  <pre><code>@FeignClient(name = "${feign.name}", url = "${feign.url}")
  public interface StoreClient {
      //..
  }
  </code></pre>
  
  <p>So I'm a bit confused about what will FeignClient use after all:
  provided url or hosts from ribbon config?</p>
  
  <p>I'd expect some prop to disable ribbon for feign as well because what's the point in load balancing if feign is given a single url?</p>
  
  <p>Spring-cloud release train - Camden.SR2</p>