You can also use alsoTo to send stream elements to an actor or special purpose Sink.
On Thu, Mar 10, 2016 at 10:49 AM, Filippo De Luca <[email protected]> wrote: > Hi, > I suppose you can use map and call a external service for each message at > defined stage. > > Even better you can build your own stage. > > On 10 March 2016 at 17:28, Arun Sethia <[email protected]> wrote: > >> Hi, >> >> I have a requirement where we would like to know how many incoming >> messages are processed by flow. We can use Materializer with AtomicLong >> with Flow to do the same. >> >> Any other alternative or in-built functionality in akka-stream API? >> >> Thanks >> Arun >> >> -- >> >>>>>>>>>> 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 https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > > [image: --] > Filippo De Luca > [image: http://]about.me/FilippoDeLuca > <http://about.me/FilippoDeLuca?promo=email_sig> > > > -- > >>>>>>>>>> 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 https://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. > -- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
