New advertisers: 50% off your first month with code FIRSTMONTHSee slots
giuseppe-trisciuoglio avatar

Spring Boot Event Driven Patterns

Spring Boot event-driven patterns covering domain events, transactional listeners, Kafka messaging, and the transactional outbox.

skills.sh installs
4K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers domain event design, aggregate event publishing, transactional handling, Kafka producers and consumers, and the outbox pattern
  • Includes reference files for dependency setup, configuration, aggregate roots, event handling, and outbox processing, plus a testing guide
  • Enforces AFTER_COMMIT listeners so events fire only after the database transaction succeeds
  • Designed for Spring Boot 3.x services that replace synchronous cross-service calls with reliable event-based messaging

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

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

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Spring Boot Event Driven Patterns

More Java & JVM