🧩 Microservices path
Spring Microservices interview questions and study guide
5 lessons from beginner to advanced. Each lesson explains the concept, shows a worked example and lists the follow-up questions interviewers ask next.
Start with lesson 1 →Intermediate 1 lesson
Advanced 4 lessons
- Secure a microservice with the Spring Security filter chain and JWT. Compare an interceptor, a custom JWT filter and the built-in resource server.
- Call another microservice reliably. Compare RestTemplate, WebClient, RestClient and declarative HTTP interfaces with Resilience4j.
- Publish and consume events asynchronously with Kafka. Compare @Async, publishing directly after the database write, and the transactional outbox with an idempotent consumer.
- Make a payment or order POST endpoint idempotent. Compare no protection, a unique business key, and an Idempotency-Key store.