Since 2.6 i get deprecation warning on this line:
import akka.stream.ActorMaterializer
implicit val actorMaterializer = ActorMaterializer()
Warning:
method apply in object ActorMaterializer is deprecated (since 2.6.0): Use the system wide materializer with stream attributes or configuration settings to change defaults
I don't understand that message, what am i supposed to do? What's 'system wide materializer', it it located in some akka package?