You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
, the ConnectionActor is stopped when it definitively fails to connect to a cluster after a configurable number of tries. This forces us to use DeathWatch to respond to this, and we're not entirely sure of why the actor died.
Is there a reason that the actor stops itself, rather than throwing a Throwable that could be handled by the Akka supervision system?
The text was updated successfully, but these errors were encountered:
good question. On one hand client users should not bother with supervision, as basically client already doing a lot for this internally. On other hand it does not align with akka ideology.
But in case event store connection is a system critical component, it is better to throw an exception.
So let's improve part.
In
EventStore.JVM/src/main/scala/eventstore/tcp/ConnectionActor.scala
Lines 143 to 146 in 8708a3f
Is there a reason that the actor stops itself, rather than throwing a Throwable that could be handled by the Akka supervision system?
The text was updated successfully, but these errors were encountered: