Spring Cloud Gateway: Resilience and Security
summary
Spring Cloud Gateway routes a /books path through Reactor and Spring WebFlux on Java 17, adds filters for retry (3 attempts with exponential backoff 50–500ms) and a Resilience4J-backed circuit breaker (window 10, 50% failure threshold, open 10s, half‑open 5 probes, 2s time limiter), and uses Spring Security + OAuth2/OpenID Connect with Keycloak plus Redis-backed sessions and token relay to downstream services. Demos show ApacheBench triggering the circuit to open and Grafana/Prometheus/Tempo/Loki capturing traces, metrics and logs.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:24API gateway
- 5:34Demo
- 14:38Routing
- 14:50Resilience
- 15:32Retry
- 15:51Demo
- 18:04Circuit breaker
- 20:10Demo
- 27:17User authentication
- 33:10Demo
- 40:34Observability
- 43:08Outro
related talks
47mSpring Cloud Gateway: Resilience, Security, and Observability
01h 11mSpring Cloud Gateway - Spencer Gibb, Sree Tummidi
51mThe API Gateway is dead! Long live the API Gateway!
51mIntroducing Spring Cloud Gateway
54mSpring Cloud: API gateway upgrade & configuration in the cloud
52mIntroduction to Spring Cloud
46mCloud Native Java, part deux
45mBeyond routing 🚀 Spring Cloud Gateway with style
