Spring Cloud: How to use Feign without Ribbon

If you want to use a plain URL use:

@FeignClient(value = "http://example.com", loadbalance = false)

With the Brixton release train you would use:

@FeignClient(url = "http://example.com", name = "example")

Somewhat late, but after looking into this if you provide your own Client Bean the LoadBalancerFeignClient wont get built and used, and the Feign open tracing autoconfig will still work.

@Bean
public Client feignClient() {
    return new Client.Default(null, null);
}