I have to pass supervision.decider
but in akka 2.6.0+ Materializer
does not have similar settings.
Can anyone share how to write below code in higher version:
val mat: ActorMaterializer = ActorMaterializer(Actor Materializersettings(supervision.decider))
Tried new way, not picking as strategy class requires String
:
1.
val mat: Materializer = Matrializer(actorsystem)
mat.system.settings.supervisionstratgyclass = ???
ActorAttributes(supervision.decider)
Any idea would be appreciated how to pass supervision strategy through materializer.
How we pass custom supervision strategy in settings? I don't use streams. It will simple startup call with materializer.