* The ThreadLocal Serialization.currentTransportInformation is used for serializing local
actor refs, but it's also useful when a serializer library e.g. custom serializer/deserializer
in Jackson need access to the current ActorSystem.
* We set this in a rather ad-hoc way from remoting and in some persistence plugins, but it's only
set for serialization and not deserialization, and it's easy for Persistence plugins or other
libraries to forget this when using Akka serialization directly.
* This change is automatically setting the info when using the ordinary serialize and deserialize
methods.
* It's also set when LocalActorRefProvider, which wasn't always the case previously.
* Keep a cached instance of Serialization.Information in the provider to avoid
creating new instances all the time.
* Added optional Persistence TCK tests to verify that the plugin is setting this
if it's using some custom calls to the serializer.
* add type alias for typed ActorMaterializer
* name it ActorMaterializerFactory in javadsl
Migration guide:
Scala:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.scaladsl.ActorMaterializer
Java:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.javadsl.ActorMaterializerFactory
* One does not "simply"
* It's not obvious
* It's not really _that_ easily done
* Basically is basically a useless word
* Of course - if you already know how things work you wouldn't be reading the docs
* Clearly is maybe not so clear for everyone
* Just was just a bit harder as there are some uses that are just
* add java support in akka-actor module in the class Abstract.ActorContext by adding the setReceiveTimeout and CancelReceiveTimeout
* add akka.actor.AbstractActor#ActorContext cancelReceiveTimeout and setReceiveTimeout to mima-excludes file
* removed scala.concurrent.duration dependency in ActorDocTest and add new method expectTerminated with java.time.Duration support in TestKit
* used java.time.Duration as default import
* Add more convenient version of recover, recoverWith and recoverWithRetries for javadsl.Flow.
* The new method take a Class parameter to decide which failure to recover from.
* Also add corresponding unit tests for them.
* use case expression to express partial function
* make time out larger in unit test
* checkstyle
* fix parameter type
* Don't write to actual disk in test
* Silence expected log errors
* Bugfix #24924 UnfoldResource closed resource twice on failure
* One more case where close would be called twice
* Toggle closed flag after operation in restartState
* open false _before_ closing in restartState
* +str,typ introduce akka typed ask for akka stream
address feedback and add actor interop stages incl ask to docs
more compile tests and adjusted things
last docs
* document adding stages to docs in CONTRIBUTING
* address review comments
* rebase conflicts