且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Spring Cloud:如何在没有 Ribbon 的情况下使用 Feign

更新时间:2022-05-30 22:13:05

如果你想使用纯 URL 使用:

If you want to use a plain URL use:

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

您将使用 Brixton 发布系列:

With the Brixton release train you would use:

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