ExESDB.Commanded.Adapter.SubscriptionProxy (ex_esdb_commanded v0.4.0)
Supervised GenServer that handles subscription proxies for converting ExESDB events to Commanded format.
This process is supervised and maintains its registration with the ExESDB store, ensuring event delivery continues even after process restarts.
There is an aggressive re-registration process that runs periodically to ensure the subscription PID is current. This is mainly to deal with new leader election scenarios where the emitter processes are restarted.
We should think of a mechanism to handle this better in the future.
Summary
Functions
Returns a specification to start this module under a supervisor.
Starts a supervised subscription proxy process.
Legacy function for backward compatibility - now starts supervised process.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Starts a supervised subscription proxy process.
Legacy function for backward compatibility - now starts supervised process.