Make flowspec great again drewhk (#22443)
* #22435: Make DirectProcessorModule work again * #22435: Fix attributes propagation for FanoutProcessor * #22435: Remove old "faulty-flow" spec
This commit is contained in:
parent
46b869d041
commit
b33339f13e
5 changed files with 30 additions and 107 deletions
|
|
@ -107,7 +107,7 @@ private[akka] final class FanoutPublisherSink[In](
|
|||
val actorMaterializer = ActorMaterializerHelper.downcast(context.materializer)
|
||||
val impl = actorMaterializer.actorOf(
|
||||
context,
|
||||
FanoutProcessorImpl.props(actorMaterializer.effectiveSettings(attributes)))
|
||||
FanoutProcessorImpl.props(actorMaterializer.effectiveSettings(context.effectiveAttributes)))
|
||||
val fanoutProcessor = new ActorProcessor[In, In](impl)
|
||||
impl ! ExposedPublisher(fanoutProcessor.asInstanceOf[ActorPublisher[Any]])
|
||||
// Resolve cyclic dependency with actor. This MUST be the first message no matter what.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue