Start Learning
Javaneer
Back to the Spring path
☁️
Module 7

Microservices & Spring Cloud

One app becomes many, on purpose.

When and how to split a monolith into services - and the Spring Cloud toolkit that makes distributed systems manageable: externalized config, service discovery, an API gateway, resilience, distributed tracing, and event-driven messaging.

7 Lessons in this stage1 h 42 min
Start the first lesson

Lessons in this stage

  1. 01

    Monolith to Microservices

    Advanced

    What microservices really trade off, when the split is worth it, and why 'start with a monolith' is usually right.

    16 min
  2. 02

    Externalized Configuration

    Intermediate

    Spring Cloud Config: one central, versioned source of configuration for every service and environment.

    14 min
  3. 03

    Service Discovery

    Intermediate

    Let services find each other by name through a registry (Eureka) instead of hard-coded hosts, with client-side load balancing.

    14 min
  4. 04

    The API Gateway

    Intermediate

    Spring Cloud Gateway as the single front door: routing, and cross-cutting concerns like auth and rate limiting in one place.

    14 min
  5. 05

    Resilience: Circuit Breakers

    Advanced

    Stop one failing service from cascading: circuit breakers, retries, timeouts, and fallbacks with Resilience4j.

    16 min
  6. 06

    Distributed Tracing & Observability

    Intermediate

    Follow one request across many services with trace IDs, using Micrometer Tracing and OpenTelemetry.

    14 min
  7. 07

    Event-Driven Microservices

    Advanced

    Connect services through a broker with Spring Cloud Stream, so they communicate by events, not brittle direct calls.

    14 min