spring-projects / spring-modulith

Modular applications with Spring Boot
https://spring.io/projects/spring-modulith
Apache License 2.0
737 stars 116 forks source link

Allow for use of event publication registry outside of Spring Modulith #666

Open vab2048 opened 1 month ago

vab2048 commented 1 month ago

For spring boot projects which want to make use of the outbox pattern which the event publication registry provides would it be possible to extract the relevant bits into their own starter?

odrotbohm commented 1 month ago

It would, indeed. We just would like to avoid creating a gazillion of starters for different usage flavors because that adds cognitive load for people approaching Spring Modulith (which starter would I use under which circumstances). Starters are an expression of preferred usage scenarios. While perfectly possible, using the registry outside of Spring Modulith currently is not one.