intermediateOpenFeign: Declarative REST Clients
What does @FeignClient(name = "inventory-service") actually resolve to at runtime?
Not a hardcoded URL — that name is looked up through service discovery (Eureka) and resolved to one of the currently-healthy registered instances via client-side load balancing, entirely transparent to the code making the call.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.
What does @FeignClient(name = "inventory-service") actually resolve to at runtime?