Default ActorMaterializer accessible from an ActorSystem

Hi,

I was wondering if it’d make sense to have some kind of default instance of ActorMaterializer accessible from an ActorSystem. It might become handy to access it from the implicitly passed ActorSystem rather than implicitly pass both ActorMaterializer as well the ActorSystem or always create a new ActorMaterilizer (which is not recommended).

Thanks,
Jakub

We discussed this at some point but it never really happened: https://github.com/akka/akka/issues/24895
Probably a pretty good idea.

Then there’s also https://github.com/akka/akka/issues/25559 about getting rid of the materializer as user API or at least making it less prominent.

This one is also somewhat related, but the other way around, so to speak, accessing the actor system from custom graph stages: https://github.com/akka/akka/issues/26192

Are there any plans to reicarnate this idea ? I like the Viktor Klang´s solution and agree it would be rather beneficial for the end users.

While I think we all agree it’s a pretty good idea it is not in our current priorities. As always contributions are very welcome. ;)