Skip to content

feat(java-spring): add java-event-driven skill#13

Open
ducpm2303 wants to merge 1 commit intomainfrom
feat/skill-java-event-driven
Open

feat(java-spring): add java-event-driven skill#13
ducpm2303 wants to merge 1 commit intomainfrom
feat/skill-java-event-driven

Conversation

@ducpm2303
Copy link
Copy Markdown
Owner

Covers in-process and broker-based event-driven patterns:

  • review mode: checks async listeners, @TransactionalEventListener usage, Kafka acks/DLT/idempotency, RabbitMQ durability/DLX/serialization
  • app-events mode: Spring ApplicationEvent publisher + @eventlistener, @async listeners, @TransactionalEventListener(AFTER_COMMIT)
  • domain-events mode: AbstractAggregateRoot.registerEvent() + save()
  • kafka mode: JsonSerializer/Deserializer, manual ack, DefaultErrorHandler with DeadLetterPublishingRecoverer and exponential backoff
  • rabbitmq mode: TopicExchange + durable queue + DLX setup, Jackson2JsonMessageConverter, manual basicAck/basicNack

references/patterns.md includes the Outbox Pattern for guaranteed delivery, full producer/consumer code, and DLT/DLQ configuration.

Covers in-process and broker-based event-driven patterns:
- review mode: checks async listeners, @TransactionalEventListener usage,
  Kafka acks/DLT/idempotency, RabbitMQ durability/DLX/serialization
- app-events mode: Spring ApplicationEvent publisher + @eventlistener,
  @async listeners, @TransactionalEventListener(AFTER_COMMIT)
- domain-events mode: AbstractAggregateRoot.registerEvent() + save()
- kafka mode: JsonSerializer/Deserializer, manual ack, DefaultErrorHandler
  with DeadLetterPublishingRecoverer and exponential backoff
- rabbitmq mode: TopicExchange + durable queue + DLX setup,
  Jackson2JsonMessageConverter, manual basicAck/basicNack

references/patterns.md includes the Outbox Pattern for guaranteed
delivery, full producer/consumer code, and DLT/DLQ configuration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant