Roland Kuhn
61b77ea50c
=str #15755 #15756 rework Source/Sink materialization
...
The philosophy is that the FlowMaterializer has complete control over
how it interprets the AST, no restrictions. Therefore it only involves
one specified method: materialize() which returns a MaterializedFlow.
Within the ActorBasedFlowMaterializer we materialize Sources and Sinks
that implement the specified SimpleSource/SourceWithKey interfaces (same
for Sinks), others are not supported. These traits are extensible and
they require that an ActorBasedFlowMaterializer is passed into the
factory methods. Other materializers can of course interpret these AST
nodes differently, or they can use the actor-based facilities by
creating a suitable materializer for them to use.
This means that everything is fully extensible, but the infrastructure
we provide concretely for ourselves is built exactly for that and
nothing more. Overgeneralization would just lead nowhere.
Also made FutureSink isActive and implement it using a light-weight
Subscriber instead of a Flow/Transformer.
2014-09-04 14:05:51 +02:00
Patrik Nordwall
b7a509ec3e
=str #15755 #15756 Some cleanup
2014-09-03 16:02:10 +02:00
Patrik Nordwall
67228108e0
=str #15756 Implement Sinks
...
* Implement FutureSink
* also, make PublisherSink an object
* Implement OnCompleteSink
* Implement ForeachSink
* Implement SubscriberSink
2014-09-03 16:01:25 +02:00
Patrik Nordwall
4bee84f149
=str #15755 implement Sources
...
* Implement IteratorSource
* and add tests for IterableSource and IteratorSource
* Implement ThunkSource
* Implement FutureSource
* Implement TickSource
2014-09-03 16:00:16 +02:00
Patrik Nordwall
c21a72a5a8
=str #15755 mandate materializer for IterableSource
...
* Source attach to top flow subscriber
2014-09-03 15:59:37 +02:00
Roland Kuhn
5ba32ccc50
=str #15755 #15756 correct variance annotations
...
- make HasNoX into pure marker traits
- make materialization type-safe
- remove casting when using EmptyPublisher
2014-09-03 15:59:22 +02:00
Patrik Nordwall
0046bebdfe
=str #15755 #15756 First stab at input/output factories
...
* New naming based on Source and Sink
2014-09-02 12:58:56 +02:00
Konrad 'ktoso' Malawski
cc4fd5ca2c
!str #15121 MaterializerSettings now uses a config object
...
Resolves #15121
2014-09-01 19:21:57 +02:00
Patrik Nordwall
a25d0fcde9
Merge pull request #15765 from akka/wip-15744-newdsl-transform-patriknw
...
=str #15744 Hook-up transform to the AST nodes
2014-09-01 12:12:50 +02:00
Patrik Nordwall
b0051c492e
=str #15744 Hook-up transform to the AST nodes
...
* Removed unused parts of the new dsl, such as FlowGraph
* Materialization of transform, still with old way of terminal operators,
input/output factories will come next
* New ActorBasedFlowMaterializer in impl2
2014-09-01 12:10:56 +02:00
Patrik Nordwall
2ef9962eb0
!str #15026 change thunk publisher api to () => Option[T]
2014-08-29 08:32:57 +02:00
Patrik Nordwall
9dd281428d
=str #15026 add some scaladoc backticks
2014-08-29 08:15:52 +02:00
Patrik Nordwall
85b85b4d75
=str #15026 take drop negative
2014-08-29 08:15:44 +02:00
Patrik Nordwall
37f94c9d8d
=str #15746 Rename flow classes
2014-08-26 18:11:11 +02:00
Patrik Nordwall
5384c4f098
=str Move new dsl to scaladsl2 package
2014-08-26 17:59:12 +02:00
Konrad Malawski
55e48918fd
Merge pull request #15725 from ktoso/wip-transformerFactory-ktoso
...
!str #15271 make transform() take a factory instead of Transformer
2014-08-26 16:15:36 +02:00
Martynas Mickevičius
fbbe5cd451
Merge pull request #15698 from 2m/wip-typesafe-dsl
...
WIP Steams typesafe DSL
2014-08-26 16:10:00 +02:00
Konrad 'ktoso' Malawski
5b1c05f3fe
!str #15271 make transform() take a factory instead of Transformer
...
+ Makes reusing flows safe
+ Adds timerTransform for ops which need TimerTransformer
+ Adds TransformerLike in order to keep transform/timerTransform
typesafe in respect to the passed in type og Transformer
Resolves #15271
2014-08-22 14:21:02 +02:00
Martynas Mickevicius
3c38706bb7
!str #15672 add a way to retrieve Publsiher or Subscriber from Output/Input
...
* also remove ClosedFlow.as(...)
2014-08-22 14:19:41 +03:00
Björn Antonsson
24254c6b48
Merge pull request #15721 from akka/wip-15050-cleanup-ReceiveTimeout-patriknw
...
!str #15050 Remove unused ReceiveTimeout
2014-08-22 12:16:49 +02:00
Björn Antonsson
630169fa2d
Merge pull request #15720 from akka/wip-15705-stream-dependency-akka-2.3.5-patriknw
...
!str #15705 Update to Akka 2.3.5, and new akka-persistent api
2014-08-22 12:16:26 +02:00
Patrik Nordwall
b6a915a68c
!str #15289 Java API for ActorPublisher and ActorSubscriber
...
* had to change api because of trait+object not useable from java
* ActorSubscriber.RequestStrategy and its implementations moved to
top level
* messages moved to ActorSubscriberMessage and ActorPublisherMessage
object
2014-08-22 11:46:36 +02:00
Martynas Mickevicius
59e9f71629
!str #15672 add HTTP Pipeline with the new DSL
...
* implement graph operations as case class junctions
* add materialization method to ClosedFlow
2014-08-22 12:17:33 +03:00
Martynas Mickevicius
6d165d28f9
!str #15672 added all combinators from current Flow API
...
* combinator tests
2014-08-22 12:17:33 +03:00
Martynas Mickevicius
7b232600d8
!str #15672 shallow shim of the new Streams DSL
...
* mostly Flow API
* initial Graph API
* positive and negative compilation tests
2014-08-22 12:17:33 +03:00
Patrik Nordwall
28bb2174ee
!str #15050 Remove unused ReceiveTimeout
2014-08-22 10:04:21 +02:00
Patrik Nordwall
5c467750ec
!str #15705 Update to Akka 2.3.5, and new akka-persistent api
...
* 2.3.5 dependency
* PersistentPublisher is using PersistentView, and is producing the
raw events instead of the Persistent wrappers
2014-08-22 09:52:32 +02:00
Patrik Nordwall
1bb5d37780
!str #15551 Switch to implicit passing of FlowMaterializer
...
* implicit param
* change tests to use implicit materializer
* add ActorFlow trait that provides an implicit materializer inside an actor
in the right way, i.e. encourage usage of that instead of
implicit def mat(implicit arf: ActorRef): FlowMaterializer
* make http compile, but those who know the api better will have to adjust
to take full advantage of the implicit materializer
2014-08-21 13:40:43 +02:00
Patrik Nordwall
e0bc669bc5
!str #15564 Add stream supervisor
...
* this is the first step, to enable safe FlowMaterializer that can be shared
* had to remove Log because of missing context (we need another solution for log)
* naming of the actors have changed, should be revisited
2014-08-21 13:30:37 +02:00
Patrik Nordwall
35f455d26d
Merge pull request #15557 from 13h3r/wip-initial-delay-for-tick-producer-13h3r
...
Initial delay support for TickProducer
2014-08-21 13:14:05 +02:00
Patrik Nordwall
4be757e492
=str #15608 Make sure ExposedPublisher is first
2014-08-21 12:30:16 +02:00
Alexey Romanchuk
edf59b1cd4
+str #15558 Initial delay support for TickProducer
2014-08-21 12:35:46 +07:00
Patrik Nordwall
2c7fd89479
+str #15408 Replace uncheckedVariance annotations in Flow/Duct
2014-08-20 08:39:17 +02:00
Patrik Nordwall
bf3551b554
Merge pull request #15673 from akka/wip-15076-foreach-patriknw
...
!str #15076 Make foreach a terminal operation, returning Future[Unit]
2014-08-20 08:08:39 +02:00
Patrik Nordwall
b6377a8baf
Merge pull request #15680 from akka/wip-15479-ActorPublisher-request-param-patriknw
...
!str #15479 "Rename ActorPublisher.Request parameter
2014-08-20 08:07:33 +02:00
Patrik Nordwall
0f2f5b3f89
Merge pull request #15562 from akka/wip–rename-tee-to-broadcast-√
...
= str - Renames Flow and Duct 'tee' operation to 'broadcast'
2014-08-20 07:48:57 +02:00
Patrik Nordwall
2e936e539c
!str #15479 "Rename ActorPublisher.Request parameter
...
* n is the name used in reactive streams
2014-08-18 11:28:11 +02:00
Patrik Nordwall
fdc5532483
!str #15076 Make foreach a terminal operation, returning Future[Unit]
2014-08-15 17:32:46 +02:00
Patrik Nordwall
f4bc1704d3
Merge pull request #15563 from akka/wip-materializer-last-√
...
= str - Moving FlowMaterializer argument to the end of all Flow and Duct...
2014-08-15 13:51:39 +02:00
Patrik Nordwall
028e760370
=str #15535 Fix NPE in ActorPublisher stop
2014-08-07 16:35:22 +02:00
Viktor Klang
bb8ab0a925
= str - #15621 - Moving FlowMaterializer argument to the end of all Flow and Duct methods which uses it.
2014-08-05 11:36:07 +02:00
Viktor Klang
6c7dc10a50
= str - #15618 - Renames Flow and Duct 'tee' operation to 'broadcast'
2014-08-05 10:47:42 +02:00
Endre Sándor Varga
d6fbadc61e
!str: #15474 : Migrate to reactive-streams 0.4.0.M1
2014-07-28 11:35:20 +02:00
drewhk
0071d626f7
Merge pull request #15442 from drewhk/wip-15418-tcp-stream-npe-drewhk
...
=str #15418 : Fix NPE when stream is closed before having a connection ac...
2014-06-25 14:59:51 +02:00
Endre Sándor Varga
40706b89aa
=str #15418 : Fix NPE when stream is closed before having a connection actor
2014-06-25 11:03:18 +02:00
Patrik Nordwall
5eaa2bfa18
Merge pull request #15384 from 13h3r/release-2.3-dev
...
Fix Duct#append type parameter
2014-06-24 16:26:40 +02:00
Mathias
8b81738d24
!str Extend StreamIO API with idleTimeout config setting, improve connectTimeout model (refs #15401 )
2014-06-16 15:08:41 +02:00
drewhk
12b6ee9c46
Merge pull request #15367 from drewhk/wip-15355-tee-first-message-race-drewhk
...
=str #15355 Fix race in Tee causing a RequestMore overtaking ExposedPublisher
2014-06-14 12:43:17 +02:00
Johannes Rudolph
762f32dfeb
=hco,str small cleanups
2014-06-11 10:05:19 +02:00
Mathias
a785eaf94d
=str Improve merge signature
2014-06-10 22:25:03 +02:00