Monitoring Akka Streaming

164 views
Skip to first unread message

Arun Sethia

unread,
Mar 10, 2016, 12:28:11 PM3/10/16
to Akka User List
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 

Filippo De Luca

unread,
Mar 10, 2016, 1:49:17 PM3/10/16
to akka...@googlegroups.com
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.

--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--

Richard Rodseth

unread,
Mar 10, 2016, 6:48:12 PM3/10/16
to akka...@googlegroups.com
You can also use alsoTo to send stream elements to an actor or special purpose Sink. 

Arun Sethia

unread,
Mar 11, 2016, 8:54:41 AM3/11/16
to Akka User List
Thanks.

I would like to keep monitoring counters in the actorsystem, so those can be exposed via service to external world.
Reply all
Reply to author
Forward
0 new messages