electric icon indicating copy to clipboard operation
electric copied to clipboard

In embedded mode allow for connecting via an application configured Ecto.Repo instance

Open magnetised opened this issue 11 months ago • 0 comments

Electric needs two db connections:

  1. for the replication consumer, and
  2. 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).

magnetised avatar Feb 04 '25 11:02 magnetised