Add missing for Custom Stream Processing docs #25940 (#25941)

This commit is contained in:
Jakub Czuchnowski 2018-11-19 10:29:10 +01:00 committed by Arnout Engelen
parent 0bf0f1a955
commit 1d36879e53

View file

@ -90,8 +90,11 @@ class GraphStageDocSpec extends AkkaSpec {
"Demonstrate creation of GraphStage Sink" in {
//#custom-sink-example
import akka.stream.Attributes
import akka.stream.Inlet
import akka.stream.SinkShape
import akka.stream.stage.GraphStage
import akka.stream.stage.GraphStageLogic
import akka.stream.stage.InHandler
class StdoutSink extends GraphStage[SinkShape[Int]] {