Skip to content

Commit 23e4bc5

Browse files
mweirauchodrotbohm
authored andcommitted
GH-158 - Add configuration metadata for spring-modulith-events-jdbc
1 parent cac1a71 commit 23e4bc5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"properties": [
3+
{
4+
"name": "spring.modulith.events.jdbc-schema-initialization.enabled",
5+
"type": "java.lang.boolean",
6+
"description": "Whether to initialize the JDBC event publication schema.",
7+
"defaultValue": "false"
8+
}
9+
]
10+
}

src/docs/asciidoc/40-events.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ To actually write the event publication log, Spring Modulith exposes an `EventPu
129129
You select the persistence technology to be used by adding the corresponding JAR to your Spring Modulith application.
130130
We have prepared dedicated <<events.starters, starters>> to ease that task.
131131

132-
The JDBC-based implementation will create a dedicated table for the event publication log, unless a table with a particular name already exists.
132+
The JDBC-based implementation can create a dedicated table for the event publication log when the respective configuration property is enabled.
133133
For details, please consult the <<appendix.schemas, schema overview>> in the appendix.
134134

135135
[[events.serialization]]

0 commit comments

Comments
 (0)