Commit graph

117 commits

Author SHA1 Message Date
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
Endre Sándor Varga
8702f09f10 Remove simple line parsing, exposing explicit delimiter stage instead 2015-06-24 11:19:29 +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 Mickevicius
4841b17ca2 =doc #17291 grammar fixes and Await.result instead of Await.ready 2015-06-22 13:54:49 +03:00
Martynas Mickevičius
27dd698706 =doc #17291 more stream test docs 2015-06-19 10:03:55 +03:00
drewhk
16afc46931 Merge pull request #17446 from drewhk/wip-17310-basic-framing-support-drewhk
+str #17310: Basic framing support
2015-06-12 10:40:01 +02:00
Viktor Klang
3dd40fc18c +str - #17662 - Changes Sink.ignore to return a Future[Unit] 2015-06-05 21:30:36 +02:00
Endre Sándor Varga
6318f3e972 +str #17310: Basic framing support 2015-06-02 14:24:42 +02:00
Martynas Mickevičius
e863a9c703 =str #17167 drop new overflow strategy 2015-06-01 18:08:13 +03:00
Endre Sándor Varga
2a2f2f075e =str: Don't use "remaining", check proper localized TCP messages 2015-05-21 16:03:10 +02:00
Konrad Malawski
60f0bfba5d =str IO stream sink/source materialized value must be boxed explicitly 2015-05-19 12:19:09 +02:00
Endre Sándor Varga
7ad4fdc3ce !str #17123: Make materialized value handling method names consistent 2015-05-05 12:42:41 +02:00
Roland Kuhn
55e1d71eea !str #17327 use curried methods for mapAsync 2015-04-28 17:40:45 +02:00
Konrad Malawski
538f0fb884 +doc documents how to use stream.io.Implicits 2015-04-24 15:52:27 +02:00
Konrad Malawski
ed51c860e2 Merge pull request #17162 from ktoso/wip-logging-streams-ktoso
Logging with log() stage for streams
2015-04-24 15:39:57 +02:00
Konrad Malawski
f2b757df51 +str #17162 add log() stage for simple logging in Flows
+ with javadsl
+ allows configuring log levels
+ allows turning off logging of certain actions completely
+ cookbook adjusted to show this instead of manual PushStage
- PENDING: preStart based impl will be faster, coming soon
2015-04-24 15:37:39 +02:00
Patrik Nordwall
1595a8a911 !str #17031 Rename StreamTcp to Tcp 2015-04-24 14:13:54 +02:00
Patrik Nordwall
07f299a1e0 !str #17031 Use host and port instead of InetSocketAddress
* as convenience in bind and outgoingConnection
2015-04-24 14:12:43 +02:00
Martynas Mickevičius
8e2cc3e70f =str #17089 stream testkit 2015-04-24 12:25:54 +03:00
Endre Sándor Varga
6736d91110 +doc, str #16714: Add documentation explaining parallelism and pipelining 2015-04-24 10:30:15 +02:00
Konrad Malawski
cebd9bf1ae +str #15588,#17229 Java 6 Synchronous File Sink / Source
These are synchronous implementations, because we need to be Java 6
  compatible while developing on 2.3.x. However asynchronous
  implementations using AsynchronousFileChannel will come soon for JDK7
  users.

+ ActorPublisher/Subscriber now manage stopping of the actor
+ added documentation on configuring dispatcher for File IO
+ properly handle if source file does not exist
+ file sink / source come with default io dispatcher
> verified no actors are leaking
> exceptions are caught and onErrored properly
+ moved files to akka.stream.io
+ Added OutputStreamSink and InputStreamSource
2015-04-23 18:15:10 +02:00
Roland Kuhn
616838a738 +str #15833 TLS with session renegotiation 2015-04-23 15:53:52 +02:00
Patrik Nordwall
00033313e0 !str #16951 Unify scaladsl and javadsl OperationAttributes
* Move actor specific attributes to ActorOperationAttributes
2015-04-16 14:16:01 +02:00