backend
7 articles
Spring Boot File Upload Example, and What Really Happens to the File
A working Spring Boot file upload with curl output for every case: the 1MB limit's empty 413, the temp file, getBytes() heap cost and a real ../ escape.
Backend & APIsSpring Boot Exception Handling, Tested Against Every Failure a Caller Sees
A Spring Boot exception handling example run against twelve failing requests — including the catch-all handler that turns every 405 into a silent 500.
Backend & APIsSpring Boot Pagination and Sorting, and the Page You Should Not Return
Pageable and Page in two lines — then the runtime warning Spring Data logs about returning Page from a controller, and the COUNT query every page costs.
Backend & APIsHow to Secure a Spring Boot API with JWT (Without Writing a Filter)
Spring Security already parses and validates JWTs. Here is the whole setup — two beans and one line of DSL — plus what a short example quietly defers.
Backend & APIsHow to Build a REST API in Spring Boot, Including the Failures
Build a working Spring Boot REST API — GET, POST, 201 with Location — then see what your callers actually get back when the request is wrong, and fix it.
Backend & APIsHow to Create a Spring Boot Project (and What the Generator Actually Gives You)
Create a Spring Boot project with Spring Initializr, then read every one of the ten files it writes — and find out what the 19 MB jar you build actually holds.
Backend & APIsWhat Triggers a Kafka Consumer Group Rebalance?
Every cause of a Kafka consumer group rebalance, the configs behind each one, and why session.timeout.ms and max.poll.interval.ms are different timers.
Distributed Systems