electric
electric copied to clipboard
In embedded mode allow for connecting via an application configured Ecto.Repo instance
Electric needs two db connections:
- for the replication consumer, and
- for the snapshot and schema queries
When running in "embedded" mode, that is as a dependency of some other elixir app, we could use that apps existing Ecto.Repo module (if any) as the connection pool for (2).