Javarevisited
Published in

Javarevisited

How to Use Spring Cloud Gateway to Dynamically Discover Microservices

To understand a gateway, let’s first try to understand a microservice without a gateway.

Client application consuming microservice

Based on the above diagram, a client will have to access the services directly. This means the client will have to know the endpoint for each and every microservice and store it at the client end.

--

--

--

A humble place to learn Java and Programming better.

Recommended from Medium

Let’s Move to the Next Challenge🚀 — Challenge 002

The evil side of MVVM

How To Hack A Paywall

Bluehost Review 2022: Is Bluehost best for me?

Keycloak as a Third-Party Key Manager to WSO2 API Manager

5 Edge Computing Technologies Enabling an IoT-Ready Network Infrastructure

Building a serverless docker web application with Terraform and Fargate

Let’s hack the planet with sparcFlow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ruby Valappil

Ruby Valappil

Digital Entrepreneur | Programmer | I write about Technology (Software, Network Protocols, Space Technology) & Digital Entrepreneurship| https://rubykv.com/

More from Medium

Spring Cloud Gateway — Securing Services with API Key

Serverless with Spring

Structured logging in Spring Boot with Log4j2, Part 2: Logging objects

Spring Boot Microservices — Part8 — Sleuth & Zipkin & TraceableExecutorService