GH-342 - Allow disabling event externalization.

We now expose spring.modulith.events.externalization.enabled that can be set to false to disable the event externalization completely. Useful in test cases, for example.
This commit is contained in:
Oliver Drotbohm
2023-10-23 12:22:42 +02:00
parent 69fd64dbf7
commit 576b8f5074
11 changed files with 235 additions and 1 deletions

View File

@@ -13,6 +13,10 @@
|`true`
|Whether to configure defaults for the async processing termination, namely to wait for task completion for 2 seconds. See `TaskExecutionProperties` for details.
|`spring.modulith.events.externalization.enabled`
|`true`
|Whether to enable event externalization.
|`spring.modulith.events.jdbc.schema-initialization.enabled`
|`false`
|Whether to initialize the JDBC event publication schema.