Following Sample: The "Producer" receives a different demand of elements dependent if the flow does have processing steps or not. (*Consumer uses the WatermarkStrategy(30)*)
var flow = Flow.empty[Int] flow.runWith(PublisherSource(ActorPublisher[Int](intProducer)),SubscriberSink(ActorSubscriber[Int](intConsumer))) -->Requested Demand in the Producer *30* var flow = Flow.empty[Int] flow = flow.map(_ +1).map(_ *2) flow.runWith(PublisherSource(ActorPublisher[Int](intProducer)),SubscriberSink(ActorSubscriber[Int](intConsumer))) -->Requested Demand in the Producer *4* (*Consumer uses the OneByOneStrategy*) var flow = Flow.empty[Int] flow = flow.map(_ +1).map(_ *2) flow.runWith(PublisherSource(ActorPublisher[Int](intProducer)),SubscriberSink(ActorSubscriber[Int](intConsumer))) -->Requested Demand in the Producer *4* var flow = Flow.empty[Int] flow.runWith(PublisherSource(ActorPublisher[Int](intProducer)),SubscriberSink(ActorSubscriber[Int](intConsumer))) -->Requested Demand in the Producer *1* I would expect that the "Request of demand" send to producers does not depend on the steps of the flow? Or I'm a wrong. Moreover 4 seems somehow strange to me. Any help welcome. Regards Wolfgang Wolfgang -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
