Spring Boot Microservices
ASecurityUse synchronous REST calls when the caller needs an immediate response, through Spring Cloud OpenFeign or Spring 6 HTTP Interfaces. Keep the contract in versioned DTO records or a dedicated API contract module, add timeouts and Resilience4j circuit breaker/retry/rate-limiter policies, and propagate Micrometer tracing context. Use asynchronous messaging when work can be decoupled or retried independently. Spring Cloud Stream lets handlers be declared as `Consumer`, `Function`, or `Supplier`; s...
- 584 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Works with
Security analysis
100/100Pro scans all 11 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-microservices --agent claude-codeAre you the author of Spring Boot Microservices?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-microservices-8d2aa54b)Use synchronous REST calls when the caller needs an immediate response, through Spring Cloud OpenFeign or Spring 6 HTTP Interfaces. Keep the contract in versioned DTO records or a dedicated API contract module, add timeouts and Resilience4j circuit breaker/retry/rate-limiter policies, and propagate Micrometer tracing context.
Use asynchronous messaging when work can be decoupled or retried independently. Spring Cloud Stream lets handlers be declared as `Consumer`, `Function`, or `Supplier`; serialize events as JSON or Avro, use a durable broker, and configure a dead-letter queue. Consumers must be idempotent because delivery can be repeated. Include an event ID and enough metadata for deduplication and observability.
Give each service its own database. Services communicate through APIs or events, never shared tables; share DTOs/clients rather than JPA entities. Avoid long synchronous call chains that create a distributed monolith. Choose the interaction per business boundary, document ownership and failure semantics, and test timeouts, duplicate events, DLQ handling, and contract compatibility.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.