Twitter @spencerbgibb
https://github.com/spencergibb/monolith-to-microservices
This repository will take a monolithic application and decompose it to microservices using Spring Cloud Gateway
Hello/Fortune monolith
- Hello service
- Fortune service (external API $$$)
- UI
Stand up gateway, point at old monolith
Move UI to separate app (path rewrite)
Add service discovery
Move hello service (with filter to transform req param to path) (with metadata expression to include, and rewrite expression in metadata)
Add circuit breaker to old fortune service with fallback
Move fortune service as v2
Add rate limiting to fortune v2
Retire v1 (after date filter?)