intermediateSpring Cloud Gateway

What does lb://order-service mean in a Gateway route definition?

It tells the Gateway to resolve order-service through service discovery and client-side load balancing, rather than pointing at one hardcoded address — the same discovery mechanism used by Feign and WebClient elsewhere in this category.

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 lb://order-service mean in a Gateway route definition?

Next Step

Continue to Why does centralizing authentication validation at the Gateway make sense instead of every service validating it independently?← Back to all Spring Cloud questions