Quantcast
Channel: Akka Stream - simple source/sink example inlets and outlets do not correspond - Stack Overflow
Browsing index pages (2 articles)

Akka Stream - simple source/sink example inlets and outlets do not correspond

I'm starting to learn Akka Stream. I have a problem that I simplified to this: import akka.actor.ActorSystem import akka.stream.{ActorMaterializer, ClosedShape} import akka.stream.scaladsl.{GraphDSL,...

View Article


Answer by 0__ for Akka Stream - simple source/sink example inlets and outlets...

It seems one has to use a special "copy" of the outlet that one gets from builder.add: val graph = GraphDSL.create() { implicit b => val in = Source.fromIterator(() => (1 to...

View Article

Browsing index pages (2 articles)


Latest Images