Commit graph

126 commits

Author SHA1 Message Date
Martynas Mickevičius
e6e476d82a =str #19128 #19127 rename Source/Sink factory apply overloads 2015-12-17 11:48:30 +02:00
Roland Kuhn
a20bbce433 add fusing 2015-12-15 09:24:52 +01:00
Roland Kuhn
ac83b1965c #18962 MergeSorted and read() completion handling 2015-12-14 12:21:30 +01:00
Roland Kuhn
fda9c5d1b8 Merge pull request #19140 from agolubev/agolubev-#19041-determenistic-interleave
+str #19041 deterministic `interleave` operation
2015-12-14 07:26:54 +01:00
Roland Kuhn
819c1ef504 Merge remote-tracking branch 'pr/18985' into release-2.3-dev 2015-12-12 16:59:05 +01:00
Alexander Golubev
fe3c34ed00 +str #19041 deterministic interleave operation 2015-12-10 21:46:48 -05:00
Alexander Golubev
737e7b8dfc +str #19041 deterministic interleave operation 2015-12-10 21:46:47 -05:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Alexander Golubev
5aa83594fa +str #18556 add delay combinator 2015-12-02 14:58:30 -05:00
Roland Kuhn
073e7058dc !str #15089 add flatMapMerge 2015-12-02 09:01:20 +01:00
Roland Kuhn
f00da4daac !str #19037 rename FlowGraph to GraphDSL 2015-12-01 18:30:07 +01:00
Konrad Malawski
93e5cc38f4 Merge pull request #18979 from spray/wip-16898-mathias
htp: remove server bypass, add early response detection
2015-11-27 14:02:18 +01:00
drewhk
2308930977 Merge pull request #18887 from agolubev/agolubev-#18555_add_throttle_combinator
=str #18555 add throttle combinator
2015-11-27 10:16:04 +01:00
Alexander Golubev
83d3143236 +str #18556 add delay combinator 2015-11-26 15:58:38 -05:00
Mathias
87cf576b8d =str,htc apply review feedback: smaller improvement across the board 2015-11-25 16:39:14 +01:00
Alexander Golubev
ea6488c6c0 +str #18555 add throttle combinator 2015-11-23 11:49:11 -05:00
Tim Harper
d1e5dbb8bb =str fixes wrong / missing cross references in scaladoc 2015-11-23 02:21:54 -07:00
Alexander Golubev
270ef41359 =str #18556 add delay combinator 2015-11-21 13:48:10 -05:00
Viktor Klang
f839a1f85d !str - 18808 - Removes Sink.fanoutPublisher and makes Sink.publisher specify number of subscribers
Sink.publisher now takes a max number of Subscribers and
the elasticity between concurrent Subscribers.
2015-11-04 12:29:07 +01:00
Viktor Klang
50c6f2267c !str - replaces flattenConcat with flatMapConcat 2015-11-03 22:17:28 +01:00
drewhk
aa339e41ec Merge pull request #18833 from drewhk/wip-18735-idleInject-drewhk
+str 18735: Added keepalive inject and initial delay ops
2015-11-03 11:50:45 +01:00
Endre Sándor Varga
8e62c0d9d7 +str 18735: Added keepalive inject and initial delay ops
Also, improved documentation of timeout operations
Added missing Java DSL smoke tests
2015-11-03 10:49:43 +01:00
Viktor Klang (√)
0f7a6408d3 Merge pull request #18809 from akka/wip-18806-address-flattenstrategy-√
-str - #18806 - Replacing flatten(FlattenStrategy) with flattenConcat
2015-11-03 09:58:54 +01:00
Viktor Klang
ce10456804 -str - #18806 - Replacing flatten(FlattenStrategy) with flattenConcat 2015-11-02 11:46:23 +01:00
Viktor Klang
bbb942d44e !str - 18608 - Moves the a.s.io.Timeouts functionality into Source/Flow/BidiFlow 2015-11-02 11:35:29 +01:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Alexander Golubev
15cabbfed7 +str #17967 add filterNot combinator 2015-10-26 22:48:13 -04:00
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Roland Kuhn
dc07fd250c !str make Inlet/Outlet invariant and add Java variance
This necessitates the removal of method overloading in the Java Graph
DSL: the to() and via() methods were not otherwise resolved correctly by
javac, leading to incomprehensible error messages. The new approach is
to offer just one way of doing things which is a bit more verbose but
should be easier to read and learn. In this vein auto-importing while
using the DSL is also gone for Java—not sure about Scala yet.
2015-10-21 17:48:54 +02:00
Konrad Malawski
61c2213e02 +str #17383 implement intersperse 2015-10-19 13:17:23 +02:00
Viktor Klang
08d702faf8 =str - #17827 - Introduces operator for Sources and Flows, to attach a Sink in an inline broadcast fashion. 2015-10-09 21:05:50 +02:00
Alexander Golubev
c8428a1bc3 +str #18411 add FlowOps.zip/zipWith/merge/concat operators 2015-10-03 23:26:06 -04:00
Alexander Golubev
993e545e99 +str #18411 add FlowOps.zip/zipWith/merge/concat operators 2015-10-03 14:28:57 -04:00
kukido
f858881b2e =doc #17329 Spelling normalization, typos fixed. 2015-09-28 22:45:38 -07:00
Endre Sándor Varga
4c2747748d =str #18136: Document mapAsync invocation order 2015-09-02 16:51:14 +02:00
André Rüdiger
6af9ced35c =str: various minor cleanups 2015-08-18 11:36:24 +02:00
Philipp
ac007efc0d +str: Sliding window operation 2015-08-14 17:00:30 +02:00
Balazs Kossovics
77b0c4e9ba =str,doc fixing typo in docs for mapAsync(Unordered) stages 2015-07-16 09:55:51 +02:00
Alexander Golubev
630343e483 +str #16394 recover operation 2015-07-15 10:34:56 +02:00
Martynas Mickevičius
efc659b70a Merge pull request #17953 from drewhk/wip-17891-processor-support-drewhk
+str #17891: Add direct support for RS Processors
2015-07-13 17:21:10 +03:00
Endre Sándor Varga
47ea3fde38 created factory method 2015-07-09 18:01:45 +02:00
Endre Sándor Varga
fed5e522c6 +str #17203: Add extra docs to prefixAndTail 2015-07-09 14:42:28 +02:00
Viktor Klang
36abbb4234 Introduces fold as a Flow transformation and generalizes Sink.fold to be Flow.fold + Sink.head
Conflicts:
	akka-stream/src/main/scala/akka/stream/impl/ActorMaterializerImpl.scala
	akka-stream/src/main/scala/akka/stream/impl/Stages.scala
	akka-stream/src/main/scala/akka/stream/scaladsl/Sink.scala
2015-06-30 10:17:52 +02:00
Endre Sándor Varga
342a9f2d03 fixing post-rebase issues 2015-06-24 10:30:46 +02:00
Endre Sándor Varga
c7a974dd1e Rename RunnableFlow to RunnableGraph 2015-06-23 18:49:53 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Endre Sándor Varga
dc7269e620 Rename OperationAttributes to Attributes 2015-06-23 18:45:04 +02:00
Martynas Mickevičius
3db793b665 =str #16935 revivce dsl consistency spec 2015-06-23 16:24:06 +03:00
Alexander Golubev
6f9438a2b0 +str #17226 add dropWhile and takeWhile 2015-06-16 17:55:50 -04:00
Viktor Klang
3bf1c14b3a =str - fixing TODO about scaladsl & javadsl Source/Sink/Flow/BidiFlow.wrap not having to needlessly re-wrap 2015-06-07 11:34:53 +02:00