EventStore v0.17.0 EventStore.Config View Source

Provides access to the EventStore configuration.

Link to this section Summary

Functions

Get the data type used to store event data and metadata.

Get the event store configuration for the environment.

Get the connection pool module for postgrex.

Normalizes the application configuration.

Converts a database url into a Keyword list

Get the event store configuration for the environment.

Get the serializer configured for the environment.

Link to this section Functions

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
Link to this function

default_postgrex_opts(config) View Source

Get the event store configuration for the environment.

Link to this function

get_config_integer(value, default \\ nil) View Source

Link to this function

get_config_value(value, default \\ nil) View Source

Get the connection pool module for postgrex.

Normalizes the application configuration.

Converts a database url into a Keyword list

Get the event store configuration for the environment.

Get the serializer configured for the environment.

Link to this function

sync_connect_postgrex_opts(config) View Source