GH-158 - Add configuration metadata for spring-modulith-events-jdbc

This commit is contained in:
Michael Weirauch
2023-03-04 01:25:31 +01:00
committed by Oliver Drotbohm
parent cac1a71dd2
commit 23e4bc5698
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
{
"properties": [
{
"name": "spring.modulith.events.jdbc-schema-initialization.enabled",
"type": "java.lang.boolean",
"description": "Whether to initialize the JDBC event publication schema.",
"defaultValue": "false"
}
]
}

View File

@@ -129,7 +129,7 @@ To actually write the event publication log, Spring Modulith exposes an `EventPu
You select the persistence technology to be used by adding the corresponding JAR to your Spring Modulith application.
We have prepared dedicated <<events.starters, starters>> to ease that task.
The JDBC-based implementation will create a dedicated table for the event publication log, unless a table with a particular name already exists.
The JDBC-based implementation can create a dedicated table for the event publication log when the respective configuration property is enabled.
For details, please consult the <<appendix.schemas, schema overview>> in the appendix.
[[events.serialization]]