Skip to content

Commit 680c750

Browse files
committed
GH-821 - Fix reference docs on event republication on startup defaults.
1 parent 6e12327 commit 680c750

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/docs/antora/modules/ROOT/pages/appendix.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Can either be the class name of a custom implementation of `ApplicationModuleDet
6161
|`spring.modulith.republish-outstanding-events-on-restart`
6262
|`false`
6363
|Whether to republish outstanding event publications on restarts of the application.
64+
Usually not recommended in multi-instance deployments as other instances might still be processing events.
6465
|===
6566

6667
[appendix]

src/docs/antora/modules/ROOT/pages/events.adoc

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

0 commit comments

Comments
 (0)