spring-events

Installation
SKILL.md

Spring Events

Pattern: Process

Conventions for event-driven communication within Spring applications. Targets Framework 7 / Boot 4.0. Most guidance applies to Framework 6.1+ / Boot 3.2+.

Mental model: Events are notifications of something that already happened. The publisher doesn't know or care who listens. Listeners are responsible for their own transactions, idempotency, and failure handling.

Do NOT Load for external messaging (Kafka, RabbitMQ) — use spring-kafka or the appropriate messaging skill. For module-boundary enforcement, combine with spring-modulith.

When to Use

  • Publishing domain events within a Spring application
  • Choosing between @EventListener, @TransactionalEventListener, and @ApplicationModuleListener
  • Debugging why an event listener is not firing
  • Configuring async event processing with proper context propagation
  • Using the Event Publication Registry for guaranteed delivery

Event Design

Installs
4
First Seen
Apr 7, 2026
spring-events — rynr/spring-skills