Boot Loot - up your game and Spring like the pros
summary
Shows working code that fixes Spring Boot pain points: replaces the default error JSON by registering a custom DefaultErrorAttributes that resolves FieldErrors into clear messages; provides a ConfigurationProperties flow with generated IDE metadata and startup validation so missing required keys fail fast; demonstrates RestTemplate issues with unbounded metric tag cardinality and a MeterFilter stripping URI query params to collapse tags; and uses the properties launcher loader.path to include external classpath files (truststore, logback) from a runnable fat JAR — all demos run end-to-end and are in the GitHub repo.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:06Spring Boot Default Error Page
- 6:04What's Happening?
- 20:23Configuration Properties summary
- 23:19Micrometer.io Metrics
- 33:44Spring Boot Builders
- 34:33Builders and Customizers
- 40:14Customizer Examples
- 41:01Local Development Configuration
- 42:32Orthogonal Profiles
- 44:09Local Logging Setup
- 44:55External Classpath Resources
- 45:35External Classpath Dirs with Spring Boot
- 45:58Spring Boot Launchers
- 49:34Conclusion
related talks
56mSpring Boot Omakase: A Fast-Paced “Chef’s Choice” Dive into Fun and Useful Topics!
57mHow to Debug Lessons Learnt From 10 Years of #SpringBoot
22mFundamental Spring Boot: Keep it Simple, Get it Right, Be Productive and Have Fun!
47m10 ways to get super-productive with Spring Boot
52mSpring Recipes: A Collection of Common-Sense Solutions
01h 13mSpring Boot is made for tooling
24mSpring Tools 4: Bootiful Spring Tooling for the Masses
47mHow to Debug - Lessons Learnt from 10 Years of Spring Boot
