View Source EventStore.Config (EventStore v1.4.1)

Provides access to the EventStore configuration.

Link to this section Summary

Functions

Stop the Postgrex process when the database connection is lost.

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 event store configuration.

Get the event store configuration for the environment.

Link to this section Functions

Link to this function

advisory_locks_postgrex_opts(config)

View Source

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.

Link to this function

column_data_type(event_store, config)

View Source

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

get(event_store, otp_app)

View Source

Get the event store configuration for the environment.

Get the connection pool module for postgrex.

Normalizes the event store configuration.

Link to this function

parsed(event_store, otp_app)

View Source

Get the event store configuration for the environment.

Link to this function

postgrex_notifications_opts(config, name)

View Source
Link to this function

postgrex_opts(config, name)

View Source