This should still be easy with akka-streams.  You'll probably need to write 
a custom stage though.  Check out the documentation on custom stages along 
with the cookbook examples.  I believe there is an example that implements 
a batching collector like this.  It's not 100% what you're looking for, but 
should be easy to modify.  

There is a way to know when the stream runs out, so sending that last batch 
shouldn't be an issue.  The examples demonstrate that functionality as well.

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

Reply via email to