diff --git a/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/META-INF/spring-configuration-metadata.json b/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/META-INF/spring-configuration-metadata.json new file mode 100644 index 00000000..28d20319 --- /dev/null +++ b/spring-modulith-events/spring-modulith-events-jdbc/src/main/resources/META-INF/spring-configuration-metadata.json @@ -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" + } + ] +} diff --git a/src/docs/asciidoc/40-events.adoc b/src/docs/asciidoc/40-events.adoc index f4893047..5d15fb69 100644 --- a/src/docs/asciidoc/40-events.adoc +++ b/src/docs/asciidoc/40-events.adoc @@ -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 <> 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 <> in the appendix. [[events.serialization]]