05Service discovery and observability

Spring Boot Microservices Gateway

A Spring Boot gateway routes requests to registered service instances and supports distributed tracing.

Gateway console with registered services and a request trace across the back-office services.
Concept interface

How it works

  • Accounts, products, orders, and back-office services run as separate services.
  • The back-office service uses Feign to assemble order information across the accounts, products, and orders services.
  • The README covers gateway routing, Kubernetes deployment, and tracing. Its version history records the move from Zuul to Spring Cloud Gateway and the addition of Micrometer tracing.

Technology stack

Spring BootSpring CloudEurekaOpenFeignDockerKubernetesMicrometer