Commit graph

16 commits

Author SHA1 Message Date
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
dc7269e620 Rename OperationAttributes to Attributes 2015-06-23 18:45:04 +02:00
Endre Sándor Varga
21d45ea1b8 - Fix accidentally passing ClientServerSpec tests
- Making materializer more robust against exceptions
2015-06-23 11:10:21 +02:00
Roland Kuhn
6e72271eb5 =str add VirtualProcessor
- create a fully RS compliant minimal identity processor (that is not an
  Actor)
- replace SubscriberSourceVirtualProcessor,
  PublisherSinkVirtualSubscriber and PublisherSinkVirtualPublisher with
  this
- add tests that transform Sink.publisher’s and Source.subscriber’s
  materialized value
- also remove the Keep.{left, right} optimization in order to make
  side-effecting mat value transforms execute even if their values are
  discarded
2015-06-18 22:24:14 +02:00
Endre Sándor Varga
74843eccaf =str #16923: Inject identity between SubscriberSource and PublisherSink 2015-06-15 14:40:09 +02:00
Endre Sándor Varga
605bbbce86 =str #17377: Turn off debug validation 2015-05-07 15:20:25 +02:00
Mathias
15b95ab0e5 =str fix typo in internal type (RejectAdditionalSubscribers) 2015-04-23 22:37:34 +02:00
Endre Sándor Varga
82a7f13a02 =str 16940: Implement shallow copy of layouts 2015-04-23 18:00:01 +02:00
Patrik Nordwall
2a975bfb35 =str #16986 Fix memory leak in PrefixAndTail when using Sink.publisher
The problem was reproduced with the TCK PrefixAndTailTest
required_spec313_cancelMustMakeThePublisherEventuallyDropAllReferencesToTheSubscriber
The tck subscriber was still referenced. Profiling revealed that the
root cause was the VirtualPublisher that holds a reference to the
realPublisher, which was MultiStreamOutputProcessor$SubstreamOutput,
which had the reference to the subscriber. The VirtualPublisher
is created by the Sink.publisher in the test, and the test holds
on to that VirtualPublisher reference.

The solution is to null out realPublisher field in the VirtualPublisher.

The old workaround with the NullSubscriber was removed.

Also made Sink.publisher reject additional subscribers.
2015-04-21 16:11:23 +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
Martynas Mickevičius
da5fde03c7 Merge pull request #17142 from 2m/wip-minor-typo-fixes
=str minor typo fixes and scala version bump
2015-04-14 16:53:39 +03:00
Martynas Mickevičius
57e5976996 =str minor typo fixes and scala version bump 2015-04-13 20:10:59 +03: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
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
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