* update MiMa latestPatch
* Even later latest
* exclude jdk9 classes in 2.6.x excludes
* mima exclude for SystemMaterializer.materializer type
Co-authored-by: Johan Andrén <johan@markatta.com>
* Getting started referred to a package name not present in quickstart
Techhub zip has com.example and g8 template defaults to com.example so let's refer to that instead
* Missing logger ops in one Scala example snippet
This way the stack trace will be more helpful because it contains the stage
that actually triggered the materialization.
Otherwise, we will only fail during `preStart` in the interpreter where the
stage will be failed and the error be propagated through the stream where
it can be hard to figure out what happened.
Also improve the message itself to contain the user provided name of the
sink/source.
* Add paramater documentation for event sourced entities
Useful for help in IDEs, text taken from the docs.
* whitespace
Co-authored-by: Arnout Engelen <github@bzzt.net>
* First step of rolling update for cluster serlializer to not use class manifests #13654
* Test coverage
* A bit of mima excludes makes jenkins a happy butler
* Docs mention
* allow Sink.queue concurrent pulling
* replace methods with default parameters on two overloaded methods to pass binary compatibility check :/
* replace ⇒ with =>
* reformat
* add javadsl
* fix PR comments and add concurrency to Sink.queue
* fix merge after auto resolving
* duplicate changes to javadsl
* revert source changes
* add graceful terminations
* clean up tests
* optimize imports
* trigger rebuild
* cover the case when materializer shutdown before async callbacks were processed
* vars to vals; fix require messages
* disable compatibility check for @InternalApi private[akka] class
It's not actually shown in docs anywhere, only exists for Scala, and has questionable semantics.
If #24473 is ever revived I guess we should/can reintroduce the sample, include in docs, make it work etc.
This will also mean that completion will not be blocked by elements that
will later be filtered out.
One particular use case of that would be a kind of partitioning use case,
where you put several streams behind a broadcast and each consumer will filter
out elements not handled there. In that case, the broadcast can get head-of-line
blocked when one of the consumers currently has no demand but also wouldn't
have to handle any elements because they would all be filtered out.
* Fix memory leak of restarting Artery outbound stream, #28390 (#28407)
* If the handshake doesn't complete the Promise in AssociationState was
not completed and each new restarted stream added future callback to
it OutboundHandshake stage. Those references are kept in the promise
and therefore old OutboundHandshake (and probably entire stream) couldn't
be garbage collected.
* Using own notification mechanism to have control of listener deregistration
from postStop instead of using Promise/Future.
* Trying to create new Promise after failure/restart would be difficult due
to that the same AssociationState Promise is accessed from several outbound
streams, all possibly restarted individually. Therefore easier to cleanup
from postStop.
(cherry picked from commit 3b7e6095df25d2551c122944f08f869255fb20ca)
* move mima filter to 2.6.1.backwards.excludes