shared configuration in microservices

Spring Boot with Spring Cloud Config Server, shared configuration is achieved by placing common properties in a central repository (like Git, Vault, CredHub, or JDBC) under the application.* scope so that all client applications can inherit them. Application-specific files then override these shared defaults.

let me explain the scenario, assume few applications are running under config server,…

Read more →
How to Structure Spring Boot Projects Beyond Spring Initializr

Spring Initializr is one of the best tools in the Java ecosystem.

It solves the first problem every Spring Boot developer has:

"How do I create a working Spring Boot application quickly?"

You select dependencies, choose your Java version, generate the ZIP, and you have a running application in seconds.

But after that first commit, every team faces the same question:

"How should we…

Read more →

Spring Boot 3.2 + Testcontainers: Reliable Integration Testing with Real Dependencies

Without Testcontainers, your integration tests might pass locally with H2 but fail in CI when connecting to a mismatched PostgreSQL version. Production database migrations succeed in development but break when applied to a different database engine.

Prerequisites

  • Java 17 or later
  • Spring Boot…
Read more →
Spring Security 7: MFA, Modular Config, and What Breaks

Spring Security 7 dropped at Spring I/O 2026. Daniel Erno from the Spring Security team gave a talk covering the biggest changes. Here's what matters if you're building Java apps with Spring Boot.

Multi-Factor Authentication (MFA) — The Big One

This feature was requested 12 years ago (issue #2603, opened November 2013). It finally shipped.

What it does: You can now enforce MFA at the…

Read more →
I built Cepify — a free Brazilian postal code (CEP) API, ViaCEP-compatible (Spring Boot 4 / Java 25)

Quick context for non-Brazilian readers: a CEP (Código de Endereçamento Postal) is Brazil's equivalent
of a ZIP/postal code. The de-facto free API for it is ViaCEP, which is great — but
I wanted a project to really dig into Spring Boot 4 + Java 25 , and I kept wanting something I fully
control. So I built Cepify , a free, high-performance CEP lookup web service.

🔗…

Read more →
How to Integrate Apache Kafka with Spring Boot: A Production-Ready Guide

When a Spring Boot service needs to talk to another service without waiting on a synchronous HTTP call, message queues are the usual answer. Apache Kafka has become the default choice for this in most backend teams, but a lot of tutorials stop at a "hello world" producer and consumer that would never survive a real production load. Things like consumer retries, error handling, serialization of…

Read more →
Stop Editing Config Files for Every Appium Run — Use Spring Profiles

If your mobile test setup requires opening a properties file and hand-editing the platform, UDID, or app path before every run, that workflow falls apart the moment you move to CI. You can't edit a file inside a pipeline, and a wall of -D flags is its own maintenance burden.

The fix is to stop treating configuration as one flat file and start treating it as independent dimensions — platform,…

Read more →
Page 1