Divide and Conquer Send Forth the Microservices
summary
Builds two Java microservices with Spring Boot (service1 on 8081, service2 on 8080), a MongoDB container seeded with ~10,000 Goodreads books, and a reactive WebClient between them. Shows domain mapping, a reactive repository, Dockerfiles and a docker-compose.yml that brings DB + service1 + service2 up and down, and demonstrates successful GETs for all books and single-book by id. Covers swapping localhost for container hostnames, rebuilding jars with Maven, and notes next steps like polyglot stores and Kubernetes.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 2:28Monoliths and their pain points
- 7:21Microservices overview and trade-offs
- 8:48Demo architecture breakdown
- 11:57Building service one with Spring Boot
- 14:23Creating service two as client layer
- 23:11Testing service one endpoints
- 24:32Configuring service two with WebClient
- 33:24Docker Compose setup and orchestration
- 40:39Running microservices in containers
- 43:05Future directions and next steps
related talks
54mJava based microservices, containers, Kubernetes - how to
30mUp and Running with Java Microservices
56mJava-based microservices, containers, Kubernetes - How To
23mKeynote: Cloud Native Java, Redux
48mReactive Microservices with Spring Boot and JHipster
51mTransporting Data at Warp Speed: How to connect Spring Boot apps...
42mCollaboration when developing Spring Boot Microservices
57mSplitting Monolith Application to Microservices
