Commit graph

737 commits

Author SHA1 Message Date
Johan Andrén
c7163c2d0c Increased timeout in long running test FramingSpec #21673 (#21686)
* Increased timeout in long running test FramingSpec #21673

* Increase default polling interval for futureValue in our tests
2016-10-19 12:20:34 +02:00
Falmarri
a28d2c579f Added a flag on takeWhile to allow it to include the final element, #21330 2016-10-18 12:02:59 +02:00
Mateus Dubiela Oliveira
c3abde60d5 Add scanAsync to Akka Streams, similar to scan but taking a Future (#21553)
* Add comprehensive tests
* Add documentation

* Damn comma after rebase

* Add documentation for foldAsync and scanAsync

* Rename aggreator and aggreating to current

* Remove out availability check

* Revert removing out and some refactors

* Formatting documentation

* Use after instead of Promise in test

* Use package reference to after and some refactoring
2016-10-17 16:43:11 +02:00
Vsevolod Belousov
0e60020c58 fold async emits zero given an empty stream #21562 2016-10-17 09:02:54 +02:00
Johan Andrén
ef7361c341 Minimal test fix (integer -> decimal) 2016-10-07 16:59:11 -05:00
Nafer Sanabria
94d7237d17 +str add zipWithIndex to FlowOps #21290 2016-09-21 08:41:56 +02:00
Patrik Nordwall
79d8ec87fc Delay should not pull when buffer is full with Backpressure strategy, #21334
Additionally
* nano time conversion and calculation fix
* refactoring of Delay.onPush
2016-09-13 16:10:49 +02:00
drewhk
ec50bd1441 Merge pull request #21447 from drewhk/wip-21446-harden-event-chasing-drewhk
#21446: Completion events must not be swallowed if chasing
2016-09-13 12:17:02 +02:00
Endre Sándor Varga
b2f0ca6750 #21446: Completion events must not be swallowed if chasing 2016-09-13 10:47:08 +02:00
Michał Płachta
b3bba1229f Make map stage final and refactor OneBoundedSetup to take a decider. (#21374)
* Remove new from Map constructions
2016-09-08 11:47:17 +02:00
Patrik Nordwall
a95b2d6746 fail fast in mapAsync for completed failed future, #21318 (#21322)
* fail fast in mapAsync for completed failed future, #21318

* the callback was not run until todo == parallelism or the sync
  event limit was reached, and that can be a problem if upstream
  stages are slow (noticed this for a blocking Kafka producer stage)

* skip callback for completed futures

* fix callback allocation
2016-08-30 19:30:08 +02:00
Johan Andrén
012919fdb3 OrElse stage for fallback when no elements emitted #21024 2016-08-30 13:35:59 +02:00
Patrik Nordwall
359a087674 Merge pull request #21166 from naferx/sink-graphstage
=str rewrite Sink internal impl as GraphStage
2016-08-30 10:37:30 +02:00
Johan Andrén
f760b98e8c Use in-memory filesystem for the file sink and source #20726 2016-08-29 16:33:33 +02:00
Cédric Chantepie
efc87af58a FoldAsync op for Flow #18603 2016-08-24 21:02:32 +02:00
drewhk
67d0d2a4e3 Merge pull request #21183 from drewhk/wip-20890-stream-hub-drewhk
Stream Hubs
2016-08-24 13:33:02 +02:00
Endre Sándor Varga
bc358f3188 20890 Added MergeHub and BroadcastHub 2016-08-24 11:43:24 +02:00
Endre Sándor Varga
00f8e4f87a #20887: Reduce GC pressure by compacting to reduce long lived garbage 2016-08-23 12:52:28 +02:00
drewhk
1278da9809 Merge pull request #21254 from drewhk/add-some-assertallstagesstopped-drewhk
Adding some assertAllStagesStopped
2016-08-23 11:33:39 +02:00
Johan Andrén
e480b7940e More generous binding timeouts in TcpSpec (#21246)
* More generous binding timeouts in TcpSpec #21014

* Use remainingOrDefault instead
2016-08-23 10:50:25 +02:00
Martynas Mickevičius
640f35ec64 =str #21199 Prevent pull/push from constructor by throwing IllegalStateException (#21252) 2016-08-23 10:44:09 +02:00
Endre Sándor Varga
119f2596ba Adding some assertAllStagesStopped 2016-08-23 10:28:20 +02:00
Endre Sándor Varga
5e830323f6 Updating to ScalaTest 3.0.0 and ScalaCheck 1.13.2 2016-08-22 11:13:49 +02:00
Johan Andrén
a81a61ba1f Balancer should not push to a closed out #20943 2016-08-18 15:44:27 +02:00
Mike Bryant
03923ca278 Correctly handle parsing of JSON strings containing single quotes #21147 2016-08-10 13:05:26 +02:00
Johan Andrén
e912f80390 Fixes for the JsonFraming #21150, #21154 and #21150 2016-08-10 12:59:52 +02:00
Nafer Sanabria
bed69d1002 =str rewrite Sink internal impl as GraphStage 2016-08-09 21:08:31 -05:00
Johan Andrén
92152edc89 Merge grabs empty input #21138 2016-08-09 17:16:11 +02:00
Johan Andrén
61f566063b named should not replace attributes #21068
Add attributes in named rather than replace, additionally: test coverage and missing method on RunnableGraph added
2016-08-09 15:11:59 +02:00
drewhk
c8026dc714 #20638: Harden TickSourceSpec (#21095) 2016-08-03 11:43:55 +02:00
Konrad Malawski
8a1f8f27dc =htc fix JsonFraming completion bug, exposed by new Interpreter 2016-08-02 15:58:34 +02:00
Konrad Malawski
3c2d021742 =htc improve patience on FramingSpec because Jenkins 2016-08-02 15:27:21 +02:00
Konrad Malawski
9cc32c3aba +htp #18837 completely rewrite EntityStreamingSupport
added CSV examples
updated docs
EntityStreamingSupport is now an entry point, to all streaming things
both read and write side use it
it's easy to extend as well
2016-08-02 15:27:21 +02:00
Konrad Malawski
f2419f5a08 =htp framed entity streaming cleanup, renames 2016-08-02 15:27:21 +02:00
Konrad Malawski
c76ec2ac15 +htp #18837 more docs and final cleanups, complete java docs 2016-08-02 15:27:21 +02:00
Konrad Malawski
24454f7f09 +htp #18837 JSON framing and framed entity streaming directives 2016-08-02 15:27:21 +02:00
drewhk
acc5223d38 Merge pull request #21002 from drewhk/wip-interpreter-improvements-drewhk
WIP - Interpreter improvements
2016-08-01 17:10:40 +02:00
Endre Sándor Varga
b8ceb863c9 reducing array load pressure by making connections an explicit object 2016-08-01 11:59:39 +02:00
Endre Sándor Varga
3a1a0cc4c4 Event chasing implemented 2016-08-01 11:31:14 +02:00
Endre Sándor Varga
5382014133 make Map a GraphStage 2016-08-01 11:31:07 +02:00
priyanka
7ff95b4b16 Convert Rechunker to GraphStage 2016-08-01 10:28:22 +02:00
Johan Andrén
74243a28f8 Additional JavaDSL package structure and docs #20945 2016-07-29 16:42:40 +02:00
Johan Andrén
9372087464 =htc #21051 WebsocketResponse future now fails if the connection failed (#21054)
* WebsocketResponse future now fails if the connection failed #21051
2016-07-28 17:48:06 +02:00
Hawstein
39008dc58a replace AkkaSpec with StreamSpec for stream tests #21011 2016-07-28 10:43:08 +02:00
Alexander Golubev
e0d73187bd =str 20967 print stream state on test failed (#21003) 2016-07-22 10:03:26 +02:00
zhxiaog
9683e4bc58 migrate Fold, Sliding, Grouped to GraphStage (#20914) 2016-07-08 14:24:03 +02:00
Konrad Malawski
a299644b21 =str 20843 Scan failure should flow downstream ASAP 2016-07-08 14:08:27 +02:00
Alexander Golubev
f679e14168 =str 20843 Scan.in cannot pull closed port 2016-07-08 10:42:16 +02:00
Alexander Golubev
e0562abba9 +str 20129 add lazySink (#20579) 2016-07-07 13:01:28 +02:00
Andrea Peruffo
a230f2fe34 =str switch to java std lib ThreadLocalRandom. (#20877) 2016-07-05 14:59:48 +02:00