Tag: spring-boot
All the articles with the tag "spring-boot".
Kafka on Kubernetes with Strimzi: partitions, rebalancing, failover, commits and a DLQ in one lab
A local kind cluster running Kafka 4.3.2 in KRaft mode through Strimzi, and the commands and real output for keyed partitions, consumer groups, losing a broker, at-least-once vs at-most-once commits, an idempotent consumer and a retry topic with a dead letter queue in Spring Boot.
One Spring Boot jar on five JVMs: Temurin, Corretto, Zulu, Semeru and GraalVM under load
The same Spring Boot 4.1 notes API, built once and run on five Java 25 runtimes with default settings. k6 read, write and mixed tests on DigitalOcean, with startup, requests per second, p99, memory, GC and JIT compile time for each JVM, plus the scripts to repeat it.
Google login with Spring Security and React, without a token in the browser
A Spring Boot 4 + React app where Spring Security does the whole Google OAuth 2 / OpenID Connect login and keeps the tokens on the server. The browser gets an HttpOnly session cookie and a CSRF cookie, nothing else. Code, config, curl checks and the production list, following RFC 10017's backend-for-frontend design.
Microservices communication patterns on a real shop: retries, Kafka, the outbox and a saga
Four Spring Boot 4.1 services, Kafka 4.3, Postgres 17 and Debezium 3.7 in Docker Compose. A retry that charges a card three times, an idempotency key that stops it, a circuit breaker, an event lost to a dual write, the outbox that fixes it and a saga that refunds the money, with every command and output.
Spring Boot logging, from log levels to Grafana Loki
A Spring Boot 4.1 service that logs at every level, writes JSON with one property, changes its log level at runtime through Actuator and ships everything to Loki with Grafana Alloy. Every config file, command and output, plus the LogQL that finds a failed payment and its stack trace.
Ten Spring Boot speedups on one small app, with the commands and the numbers
An index found through pg_stat_statements, join fetch, JDBC batching that stays off with IDENTITY ids, a Caffeine cache, projections, open-in-view, keyset paging, parallel calls, gzip and a JDK AOT cache. Each one with the code, the command that measures it and the output from one laptop.