!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.
This commit is contained in:
parent
33444c572b
commit
f839a1f85d
54 changed files with 246 additions and 238 deletions
|
|
@ -155,7 +155,7 @@ class GraphOpsIntegrationSpec extends AkkaSpec with ConversionCheckedTripleEqual
|
|||
}
|
||||
|
||||
"be able to run plain flow" in {
|
||||
val p = Source(List(1, 2, 3)).runWith(Sink.publisher)
|
||||
val p = Source(List(1, 2, 3)).runWith(Sink.publisher(1))
|
||||
val s = TestSubscriber.manualProbe[Int]
|
||||
val flow = Flow[Int].map(_ * 2)
|
||||
RunnableGraph.fromGraph(FlowGraph.create() { implicit builder ⇒
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue