Spring Modulith: What the What?
summary
A working demo pulls USGS sensor JSON, transforms it into creek-status objects, and streams them between containers using Spring Cloud Stream with RabbitMQ and MariaDB in Docker Compose; the microservice set (producer, transformer, storage, consumers) runs end-to-end. That architecture is then consolidated into a single Spring Boot app organized by Spring Modulith modules that communicate via application events persisted by JPA; application module test and modules.verify both generate UML docs and catch illegal package dependencies.
AI-written summary · about
chapters (11)
- 0:00Introduction and agenda
- 2:34Initial monolith demo
- 5:27Microservices solution
- 11:00Spring Modulith concept
- 16:42Modulith refactoring plan
- 19:15Modulith demo part 1
- 25:28Modulith demo part 2
- 30:56Testing and documentation
- 34:41Enforcing architecture
- 37:26Advanced modular techniques
- 43:51Summary and conclusion
related talks
01h 11mSpring Modulith – Spring for the Architecturally Curious Developer
50mSpring Modulith – Spring for the Architecturally Curious Developer
01h 01mBuilding Modular Monoliths using Spring Modulith
50mSpring for the architecturally curious developer
51mBuilding better monoliths – Implementing modulithic applications with Spring
03h 03mSpring Modulith – A Deep Dive (Workshop)
52mMicroservices with Java, Spring Boot and Spring Cloud
53mCrafting a self-documenting Modular Monolith with DDD principles (theory not included)
