[akka-user] Re: [Akka-stream] How to do flow shortcut

2015-09-02 Thread Rafał Krzewski
There's an issue on file for doing the filter & nonFilter in a single graph element: https://github.com/akka/akka/issues/17038 Meanwhile, you can a use less powerful variant using FlexiRoute:

Re: [akka-user] Using Akka http for large uploads not uploading entire file

2015-09-02 Thread Konrad Malawski
I see, thanks for double-checking on your end then! I hope you're enjoying Akka Http :-) Happy hakking! --  Cheers, Konrad `ktoso` Malawski Akka @ Typesafe On 2 September 2015 at 16:08:55, Charlie Evans (charlesdevan...@gmail.com) wrote: Hi Konrad, Thanks so much in getting back to me, I'm

[akka-user] Re: Using CircuitBreaker within outbound Http stream Flow

2015-09-02 Thread Konrad Malawski
Hi Chris, that's definitely in the plans – here's the ticket for it: https://github.com/akka/akka/issues/15307 You can build elements like this currently, however you're right that it could be provided as an out of the box thing and certainly be pretty useful. Thanks for the feedback! If you

Re: [akka-user] Akka Mobile

2015-09-02 Thread Konrad Malawski
Hi Joseph, we're not actively working on supporting Akka on DVM or ART (Android runtimes). Akka is aimed primarily at backend settings, not as much for mobile. Having that said, I know Akka 2.3.x "just worked" on Android a while ago, because it looks "enough like Java" from the feature set's

[akka-user] Using CircuitBreaker within outbound Http stream Flow

2015-09-02 Thread Chris Baxter
Are there any additional plans to provide enhancements to the CircuitBreaker to allow it to more tightly integrate into outbound Http stream Flows? Right now we can make use of the current CircuitBreaker with a mapAsync step as the current breaker supports a Future based withCircuitBreaker

Re: [akka-user] Using Akka http for large uploads not uploading entire file

2015-09-02 Thread Konrad Malawski
Actually, follow up question – since the snippet seems incomplete. How are you running the mapAsync? In the snippet you posted there is no materialization of the  formdata.parts.mapAsync(1) part. You should have some run() at the end of the stream, otherwise it does nothing. For example you

Re: [akka-user] Using Akka http for large uploads not uploading entire file

2015-09-02 Thread Charlie Evans
Hi Konrad, Thanks so much in getting back to me, I'm starting to think it may be an issue outside of akka. We have Node proxying the request over to the akka server and it might be something funky going on there. Sorry to have wasted your time. Charlie On Wednesday, September 2, 2015 at

[akka-user] Re: [Akka-stream] How to do flow shortcut

2015-09-02 Thread Leon Ma
Thanks a lot! It's really helpful! Leon 在 2015年9月1日星期二 UTC-7上午11:54:48,Lance Arlaus写道: > > Leon- > > There's a couple of ways to solve this, but one simple solution is to use > a combination of Broadcast, filter, and Merge. > 1. Broadcast the elements to two branches and filter each branch.

Re: [akka-user] Using Akka http for large uploads not uploading entire file

2015-09-02 Thread Konrad Malawski
Hi Charlie, I'll try to reproduce the problem you described - it definitely should not happen, so we may be looking at a bug here. Is there anything else other than the snippet (thanks for pasting it!) that might be related to the issue you're seeing? Does the same happen if you replicate the

[akka-user] Using Akka http for large uploads not uploading entire file

2015-09-02 Thread Charlie Evans
Hi all, I'm trying to use Akka http for large files (300MB is what I'm currently testing) coming in as multi-part form data. The file gets written straight to disk. The file ends up being a few MB short of complete and the upload hangs indefinitely. I had a look at the files and the top and