Provides access to the Decree.Store configuration.
Summary
Functions
Stop the Postgrex process when the database connection is lost.
Get the column type used to store the causation identifier.
Get the data type used to store event data and metadata.
Get the column type used to store the correlation identifier.
Get the event store configuration for the environment.
Get the connection pool module for postgrex.
Normalizes the event store configuration.
Get the event store configuration for the environment.
Functions
Stop the Postgrex process when the database connection is lost.
Stopping the process allows a subscription to be notified when it has lost its advisory lock.
Get the column type used to store the causation identifier.
Supported types are:
- "uuid" - Enforces UUID format. The identifier must be a valid UUID.
- "text" - Allows any string value as an identifier.
Get the data type used to store event data and metadata.
Supported data types are:
- "bytea" - Allows storage of binary strings.
- "jsonb" - Native JSON type, data is stored in a decomposed binary format that makes it slightly slower to input due to added conversion overhead, but significantly faster to process, since no reparsing is needed.
Get the column type used to store the correlation identifier.
Supported types are:
- "uuid" - Enforces UUID format. The identifier must be a valid UUID.
- "text" - Allows any string value as an identifier.
Get the event store configuration for the environment.
Get the connection pool module for postgrex.
Normalizes the event store configuration.
Get the event store configuration for the environment.