ActorSystem.Terminate().Wait();
to stop my actors. Sometimes the shutdown process hangs at [DEBUG][Thread 0008][akka://MyActorSystem/user] Stopping
and won't continue. Is there a way to debug what exactly is preventing the stopping?
SynchronizedDispatcher
that is blocking the Terminate
from proceeding. The synchronized thread seems no longer to exist. How can I kill these "dead" actors before Terminating my ActorSystem?
EventFilter.Exception<InvalidOperationException>().ExpectOne( () => actor.Tell( toSend ) );
Log.Error( reason, "PreRestart" );
then assertion fails, because it receives two InvalidOperationException
s. Is it possible to assert only the exceptions?
PostRestart
EventFilter.Exception<InvalidOperationException>( source: actor.Path.ToString() ).ExpectOne( () => actor.Tell( toSend ) );
is there like an idiomatic way for me to build a HOCON config that is derived from another.
This is how one might do it in other frameworks for example
I have Config A
I wanna build Config B
by traversing Config A
's keys building up a list of keys and values and then use those keys and values to finally derive similar Config to A but is slightly different called Config B
.