edomata.java.JBackendBuilder
See theJBackendBuilder companion object
Java-friendly builder for the Doobie event sourcing backend.
Attributes
- Companion
- object
- Source
- JBackendBuilder.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Build the backend. This allocates resources (DB connections, caches).
Build the backend. This allocates resources (DB connections, caches).
The returned JBackend implements AutoCloseable — use try-with-resources.
Attributes
- Throws
-
IllegalStateException
if required configuration is missing
- Source
- JBackendBuilder.scala
Set the JDBC DataSource.
Set the event codec using a JCodec.
Set the in-memory snapshot cache size.
Set the maximum number of retries on version conflict.
Set the PostgreSQL namespace (uses prefixed naming strategy).
Set the PostgreSQL namespace (uses prefixed naming strategy).
Attributes
- Source
- JBackendBuilder.scala
Set the notification codec using a JCodec.
Set the PostgreSQL namespace with schema naming strategy.
Skip automatic DDL setup (for Flyway/manual migrations).
In this article