Commit graph

141 commits

Author SHA1 Message Date
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Konrad Malawski
5a18d43435 +doc #19429 initial merge of docs-dev and docs 2016-01-14 00:31:03 +01:00
Tal Pressman
a44d78e3d0 =htc #19361 Rewrite Duplicator/Duplicator2 to use GraphStage instead of StatefulStage 2016-01-11 14:29:25 +02:00
Roland Kuhn
939319e84d #19235 document fusing 2015-12-22 22:27:59 +01:00
Johan Andrén
9961495fad +str #19032 Docs for graph stage and Java API
Including fix for #19205
2015-12-18 22:29:06 +01:00
Johan Andrén
09a79f45e4 !str #19129 New homes for file and java.io stream factories 2015-12-17 14:41:02 +01:00
Martynas Mickevičius
e6e476d82a =str #19128 #19127 rename Source/Sink factory apply overloads 2015-12-17 11:48:30 +02:00
Endre Sándor Varga
b478d70964 !str #19137: Rename inlet and outlet to in and out on Flow/Source/SinkShape 2015-12-15 16:49:52 +01:00
Viktor Klang
33a9257a3b =str&http - 19142 - Renames all occurrences of mat with materializer
(When referring to a Materializer)
2015-12-11 14:45:24 +01: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
Roland Kuhn
f00da4daac !str #19037 rename FlowGraph to GraphDSL 2015-12-01 18:30:07 +01:00
Endre Sándor Varga
7acdda1d1f +str, doc: Documentation for GraphStage 2015-11-27 14:21:48 +01:00
Konrad Malawski
a394e833bf Merge pull request #18924 from 2beaucoup/improve-tcp-doc
Show where connections are coming from in stream-io.rst
2015-11-18 12:01:12 +01:00
Viktor Klang
20c996fe41 !str - 18916 - Source.file and Sink.file
* Removes `Synchronous` from the names and descriptions of File I/O as it leaks impl details
* Removes the factries for FileSource and FileSink and puts them in Source and Sink respectively
2015-11-17 09:50:10 +01:00
2beaucoup
6ba1e481d3 =doc show where connections are coming from in stream-io.rst 2015-11-13 14:50:24 +01:00
Viktor Klang
6cfa4df800 !str - Switches Sink.publisher to use a boolean to indicate fanout rather than a number of allowed subscribers 2015-11-04 12:29:23 +01: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
Martynas Mickevičius
ee5ec72552 =str #15707 name unnamed modules
* give name attribute to TickSource and nested modules
* reflow module toString output
* give toString to flow
2015-11-04 13:01:05 +02: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
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
8ea52a6bb4 +str #17338 add OutputStreamSource and InputStreamSink 2015-10-28 11:22:32 -04:00
Roland Kuhn
0c78cca7ed !str #18674 remove FlowGraph.Builder.add(Sink|Source) 2015-10-26 12:31:17 +01: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
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
Konrad Malawski
89a8d670c7 Merge pull request #18602 from ktoso/wip-htc-failure-docs-ktoso
+doc,htc #18600,18597 documents where/how to deal with failure in Http
2015-10-02 11:19:47 +02:00
Endre Sándor Varga
26680c3477 +str: fusable fan-in and fan-out ops 2015-10-01 14:41:33 +02:00
Konrad Malawski
573a69e2b9 +doc,htc #18600,18597 documents where/how to deal with failure in Http 2015-09-29 23:10:00 +02:00
Konrad Malawski
880d51b89b Merge pull request #18503 from ktoso/wip-improvements-streamtestkit-ktoso
+str #18501 improvements and fixes in StreamTestKit (adds toStrict)
2015-09-28 19:29:17 +02:00
Konrad Malawski
ab96ebfca0 +str #18501 improvements and fixes in StreamTestKit (adds toStrict) 2015-09-25 17:19:00 +02:00
Roland Kuhn
68ba0643d6 =str,htp clean up build warnings
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)

The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490.
2015-09-25 15:20:23 +02:00
Konrad Malawski
8ea47c3d37 Merge pull request #18352 from 2m/wip-doc-api-update-stream-io
=doc update stream-io doc page to the latest API
2015-09-04 12:01:05 +02:00
Endre Sándor Varga
1a3e1403d7 =str #18377: Harden DroppyBroadcastSpec to not lose messages 2015-09-02 14:09:21 +02:00
Alexander Golubev
7620014358 +str #17399 add boilerplate remover for fan-in junctions 2015-09-01 09:51:23 -04:00
Martynas Mickevičius
ccfbc390b9 =doc update stream-io doc page to the latest API
* style changes remove double border from inline code blocks
2015-08-28 09:35:23 +03:00
Martynas Mickevičius
6b0cacb039 =doc #18012 rate transformation doc improvements
* use () when calling scala methods with side effects
* concat immutable lists instead of modifying mutable ones
* use Collections.singletonList instead of sublassing ArrayList
* and typo fixes
2015-07-20 15:21:16 +03:00
Martynas Mickevičius
ada0d31ec7 =doc #18012 rate transformation docs 2015-07-17 17:03:48 +03:00
Konrad Malawski
1c27e749b1 =str,doc #17993 explain how to use pipeto and dispatcher in docs 2015-07-15 11:23:22 +02:00
Konrad Malawski
0bcc996cc7 Merge pull request #17989 from 2m/wip-detached-docs-drewhk
Add documentation for DetachedStages
2015-07-14 19:34:22 +02:00
Martynas Mickevičius
d9386c8cc5 +doc java sample code for detached stage 2015-07-14 17:45:57 +03:00
Konrad Malawski
c4d018d31a Merge pull request #17961 from ktoso/wip-quickstart-impr-ktoso
=doc #17655 improvements in streams quickstart
2015-07-14 15:58:05 +02:00
Konrad Malawski
a191266d54 =doc #17655 improvements in streams quickstart 2015-07-14 15:57:53 +02:00
Martynas Mickevičius
2a2088e06a Merge pull request #17980 from 2m/wip-17337-composition-docs-drewhk
+doc #17337: Document composability and modularity (with java code)
2015-07-14 13:56:54 +03:00
Martynas Mickevičius
eb74b3ec9d +doc #17337: java doc samples 2015-07-14 13:20:46 +03:00
Endre Sándor Varga
f330e61a05 +doc #17337: Document composability and modularity 2015-07-13 16:50:02 +03:00
Endre Sándor Varga
0d8fd40b09 +doc: Add documentation for DetachedStages
also extend documentation with more diagrams
2015-07-12 10:28:49 +02:00
Endre Sándor Varga
47ea3fde38 created factory method 2015-07-09 18:01:45 +02:00
Konrad Malawski
c0e52338df =str #16787 java cookbook 2015-07-08 17:35:14 +03:00
Viktor Klang
2725bfc044 =str - Various internal Akka Stream improvements
* Gives Inlets and Outlets a `carbonCopy` method and switches to allocate them via `apply`
* Removes 4 Array allocations per FanIn and uses a bitmasked array instead
* Makes the FlattenStrategy.concat instance a singleton
2015-06-30 11:45:50 +02:00