Commit graph

77 commits

Author SHA1 Message Date
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
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Mathias
d92fcf211a =doc #17039 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
Patrik Nordwall
f4ed62b84c !str #16520 Add ActorRefSource
* and rename the factory for ActorPublisherSource,
  from Source.apply to Source.actorPublisher

* including internal buffer, with OverflowStrategy

* support to complete/fail stream
2015-04-10 13:53:15 +02:00
Patrik Nordwall
946faedd95 !str #16521 Add ActorRefSink
* also rename the factory for ActorSubscriber props Sink,
  from apply to actorSubscriber
2015-04-10 12:58:52 +02:00
Roland Kuhn
8f47b6dfcc Merge pull request #17105 from akka/wip-async-stage-∂π
add async stage
2015-04-10 10:52:01 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Patrik Nordwall
514adc1150 =str #16913 enable and fix broken StreamTcpDocSpec 2015-04-10 07:44:43 +02:00
drewhk
a65adc5f16 Merge pull request #17097 from drewhk/wip-16168-mat-value-source-drewhk
!str #16168: Expose materialized value in the graph as a "source"
2015-04-07 13:28:32 +02:00
Endre Sándor Varga
a7af773e2c !str #16168: Expose materialized value in the graph as a "source" 2015-04-07 12:51:18 +02:00
Martynas Mickevičius
03a1a8ea3d Merge pull request #17072 from 2m/wip-enable-java8-tests
Enable java-lambda doc sample build in PR validation
2015-03-31 13:56:00 +03:00
Jun
a9a7a799fc =doc fix typo: form -> from
Ports #17074 to the right branch
2015-03-30 10:02:50 +02:00
Martynas Mickevičius
7616b40e29 =sam #16905 multiple fixes for java-lambda doc samples
* use a free port instead of a hardcoded one
* do not use null for stream elements
* use defined java8 home key
2015-03-26 20:56:49 +02:00
Roland Kuhn
157629f8af !str #16416,#16994 BidiFlow DSL and Flow.join Mat
- add BidiFlow, with atop and join combinators
- add Flow.join(BidiFlow)
- correct Flow.join’s default materialized value selection to Keep.left
2015-03-24 11:10:14 +01:00
Patrik Nordwall
9ae08a57fe Merge pull request #17018 from danielwegener/patch-1
=doc: Simplyfies decider in FlowErrorDocSpec.scala
2015-03-06 16:07:29 +01:00
Daniel Wegener
c6b51ea555 Doc: Simplyfies decider in FlowErrorDocSpec.scala
Or is there any reason to do an explicit match?
2015-03-06 12:15:20 +01:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Roland Kuhn
91a0dbe036 Graph#Shape needs uncheckedVariance in 2.11 2015-02-27 20:32:15 +01:00
Endre Sándor Varga
ba12fbfab9 +doc: Fix stream-customize docs 2015-02-27 13:16:23 +01:00
Roland Kuhn
1563e0189b update graph docs 2015-02-26 17:22:53 +01:00
drewhk
81fb5c14cb Merge pull request #16941 from drewhk/wip-update-quickstart-basics-to-m4-drewhk
Updating documentation basic sections to M4 API
2015-02-26 15:58:36 +01:00
Endre Sándor Varga
41f6a0bf26 +doc: Updating basics, quickstart and some of graph docs 2015-02-26 15:57:52 +01:00
Roland Kuhn
aeb31d2a1f fix a good swath of FIXMEs 2015-02-26 12:07:02 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Patrik Nordwall
693dcbefcc +str #15750 Prototype of stream supervision
* add supervion for stages and built in ops run by interpreter
* add supervision for mapAsync and mapAsyncUnordered
* add supervision to groupBy and splitWhen
* reference doc for scala and java
2015-02-20 15:44:01 +01:00
Konrad Malawski
a5e57736c8 =str #16683 fixes NPE in stateful stage example 2015-02-06 13:06:46 +01:00
Patrik Nordwall
9efe0250f9 Merge pull request #16779 from akka/wip-16652-stream-docs-java-7-patriknw
=str #16652 Add java docs for 'Working with streaming IO'
2015-02-06 10:12:14 +01:00
Patrik Nordwall
20f4aeb2fc =str #16652 Add java docs for 'Working with streaming IO' 2015-02-06 10:11:17 +01:00
Patrik Nordwall
685da0b80a =str #16652 Add java docs for 'Basics and working with Flows' 2015-02-06 10:08:13 +01:00
Patrik Nordwall
0a43aa2693 =str #16652 Add java docs for 'Custom stream processing' 2015-02-05 10:38:00 +01:00
Patrik Nordwall
b442c4d9e6 Merge pull request #16756 from akka/wip-16448-err-vs-fail-patriknw
!str #16448 Change error to failure
2015-02-03 13:45:28 +01:00
Patrik Nordwall
2740d67c61 !str #16565 Make Flexi* limitations explicit
* remove isDemandAvailable
* hide emit from CompletionHandler context
* throw if more than one emit in response to an input
* had to remove the OrderedMerge test/sample because emitting
  from CompletionHandler is currently not supported
* FlexiRoute and FlexiMerge might become more capable later, see issue 16753
2015-02-03 13:42:48 +01:00
Patrik Nordwall
01646d10ff !str #16448 Change error to failure
* one API change OverflowStrategy.error -> OverflowStrategy.fail
* error is still kept in the internals where we are at the reactive
  streams level
2015-01-30 10:30:56 +01:00
Konrad Malawski
286c08e848 =doc #16740 add missing \n to examples, test if really works 2015-01-29 14:52:58 +01:00
Patrik Nordwall
580ba8c484 Merge pull request #16730 from akka/wip-15851-ActorBasedFlowMaterializer-patriknw
!str #15851 Rename FlowMaterializer and settings
2015-01-29 10:30:08 +01:00
Patrik Nordwall
de5bff0444 Merge pull request #16727 from akka/wip-16577-FlexiMerge-exceptions-patriknw
!str #6577 Align API of Flexi with Stage
2015-01-29 10:26:53 +01:00
Patrik Nordwall
8505e4935a !str #6577 Align API of Flexi with Stage
* error -> fail
* complete -> finish
* onComplete - onUpstreamFinish
* onError - onUpstreamFailure
* onCancel - onDownstreamFinish
2015-01-29 10:25:52 +01:00
Konrad Malawski
9c9984aaf9 Merge pull request #16721 from ktoso/runOps-ktoso
!str #16563 terminal operations start with run*; runFold runForeach
2015-01-28 10:24:38 +01:00
Patrik Nordwall
cd9d503b03 !str #15851 Rename FlowMaterializer and settings
* FlowMaterializer is now the actor independent interface
* ActorFlowMaterializer is the actor based interface
* MaterializerSettings renamed to ActorFlowMaterializerSettings
* impl.ActorBasedFlowMaterializer renamed to impl.ActorFlowMaterializerImpl
* Optimizations included in ActorFlowMaterializerSettings
* Note that http is using FlowMaterializer in api, but I suspect that it
  will currently only run with a ActorFlowMaterializer
2015-01-27 19:22:22 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Patrik Nordwall
631b4ca5ac !str #16492 Remove closure in TickSource to make it shareable 2015-01-26 14:16:59 +01:00