spring-modulith
spring-modulith copied to clipboard
Modular applications with Spring Boot
**Current Behavior** The `sharedModules` parameter of the `@Modulith` annotation does not allow nested packages, even when the nested packages are explicitly listed. package structure - com.app.core.exception `@Modulith(sharedModules={"com.app.core"}, useFullyQualifiedModuleNames = true)`...
Hi, I am trying to understand the ordering guarantees of externalized events, in particular whether it is guaranteed that two events originating from two concurrent requests are sent to Kafka...
I set `spring.modulith.republish-outstanding-events-on-restart=true`, @ApplicationModuleListener sleep 30s, and I restart springboot, but it is unable republish. - publisher ``` ApplicationEventPublisher applicationEventPublisher; ... List events=...; applicationEventPublisher.publishEvent(new ListenerEvent(this, events)); ``` - listener ```...
As discussed with @maciejwalkowiak, we decided to move the AWS SQS and SNS integration for Spring Modulith's event externalization to the Spring Cloud AWS project. We should deprecate our very...
Adding `spring-boot-starter-data-jpa` dependency stops `@ApplicationModuleListener` receiving events
the following snippet works until I add the `spring-boot-starter-data-jpa` dependency. ```java @EnableScheduling @SpringBootApplication public class DemoApplication { private ApplicationEventPublisher publisher; public DemoApplication(ApplicationEventPublisher publisher) { this.publisher = publisher; } public static...
- Archive table – instead of marking an event as completed in the "current table" we could write an archive table to contain older, completed events and the original one...
When adding Spring Modulith to an existing codebase full of violations, the CustomApplicationModuleDetectionStrategy is a big help. However, I was faced with a failure of `verify()` because a service used...
Hello. Is there any way to override the name of the event_publication table to record events? Prior to version 1.1.0, it was possible to create own repository that extends EventPublicationRepository...
If I publish one event multiple times then ``` UPDATE EVENT_PUBLICATION SET COMPLETION_DATE = ? WHERE LISTENER_ID = ? AND SERIALIZED_EVENT = ? ``` Will update completion date on all...
Looks like EnablePersistentDomainEvents will select EventPublicationConfiguration for import and at the same time EventPublicationAutoConfiguration extends EventPublicationConfiguration so if you add EnablePersistentDomainEvents annotation then the application fails to start ``` ***************************...