giuseppe-trisciuoglio avatar

Spring Boot Event Driven Patterns

This handles the full event-driven architecture stack for Spring Boot, from domain events with @TransactionalEventListener to Kafka integration and the transactional outbox pattern. The examples are solid, especially the before/after refactoring that shows breaking apart blocking service calls into async event handlers. What I appreciate is the emphasis on AFTER_COMMIT phase listeners and idempotent handlers, which are exactly the details people get wrong when moving from monolithic to event-driven systems. The outbox pattern implementation is properly included since reliable event publishing is where most homegrown solutions fall apart. Use this when you're decomposing a monolith or building microservices that need reliable async communication without losing events to partial failures.

skills.sh installs
4K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill spring-boot-event-driven-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Spring Boot Event-Driven Patterns

Overview

Implement Event-Driven Architecture (EDA) patterns in Spring Boot 3.x using domain events, ApplicationEventPublisher, @TransactionalEventListener, and distributed messaging with Kafka and Spring Cloud Stream.

When to Use

  • Implementing event-driven microservices with Kafka messaging
  • Publishing domain events from aggregate roots in DDD architectures
  • Setting up transactional event listeners that fire after database commits
  • Adding async messaging with producers and consumers via Spring Kafka
  • Ensuring reliable event delivery using the transactional outbox pattern
  • Replacing synchronous calls with event-based communication between services

Quick Reference

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Code Review & Quality, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1zc277584121 avatarjupyter-notebook-writingzc277584121/marketing-skillsWrite Milvus application-level Jupyter notebook examples using a Markdown-first workflow with jupyter-switch for format conversion.3.9Kskills.sh installs
2dotnet avatargrade-testsdotnet/skillsGrades a specified set of test methods individually and produces a concise table mapping each test (fully-qualified name) to a letter grade (A–F), a score band,3.8Kskills.sh installs
3agents365-ai avatartldraw-skillagents365-ai/365-skillsUse when user requests diagrams, flowcharts, architecture charts, or visualizations. Also use proactively when explaining systems with 3+ components, complex da3.8Kskills.sh installs
4bytedance avatarfrontend-designbytedance/deer-flowCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, 3.7Kskills.sh installs
5agricidaniel avatarads-attributionagricidaniel/claude-adsAudit cross-platform attribution, conversion definitions, reporting windows, GA4, AdServices and AdAttributionKit, MMPs, browser and server events, offline conv3.6Kskills.sh installs
6wshobson avatarbefore-you-buildwshobson/agentsPre-build product and feature risk review for founders, product managers, and AI-assisted builders. Use this skill when the user is about to build a landing pag3.5Kskills.sh installs