GH-818 - Fix reference docs on event republication on startup defaults.

This commit is contained in:
Oliver Drotbohm
2024-09-13 17:38:32 +02:00
parent dc74b414f3
commit bec0a35da2
2 changed files with 2 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ Can either be the class name of a custom implementation of `ApplicationModuleDet
|`spring.modulith.republish-outstanding-events-on-restart`
|`false`
|Whether to republish outstanding event publications on restarts of the application.
Usually not recommended in multi-instance deployments as other instances might still be processing events.
|===
[appendix]

View File

@@ -204,7 +204,7 @@ image::event-publication-registry-start.png[]
Each transactional event listener is wrapped into an aspect that marks that log entry as completed if the execution of the listener succeeds.
In case the listener fails, the log entry stays untouched so that retry mechanisms can be deployed depending on the application's needs.
By default, all incomplete event publications are resubmitted at application startup.
Automatic re-publication of the events can be enabled via the xref:appendix.adoc#configuration-properties[`spring.modulith.republish-outstanding-events-on-restart`] property.
.The transactional event listener arrangement after execution
image::event-publication-registry-end.png[]