Class

com.weightwatchers.reactive.kinesis.stream

KinesisSinkGraphStage

Related Doc: package stream

Permalink

class KinesisSinkGraphStage extends GraphStageWithMaterializedValue[SinkShape[ProducerEvent], Future[Done]] with LazyLogging

A KinesisSinkGraph will attach to a kinesis stream with the provided configuration and constitute a Sink[ProducerEvent, Future[Done]. This graph stage uses a producer actor to publish events with acknowledgements.

Linear Supertypes
LazyLogging, GraphStageWithMaterializedValue[SinkShape[ProducerEvent], Future[Done]], Graph[SinkShape[ProducerEvent], Future[Done]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KinesisSinkGraphStage
  2. LazyLogging
  3. GraphStageWithMaterializedValue
  4. Graph
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KinesisSinkGraphStage(producerActorProps: ⇒ Props, maxOutstanding: Int, actorSystem: ActorSystem)

    Permalink

    producerActorProps

    the properties to create a producer actor where all events are send to. This is a function to work around #48.

    maxOutstanding

    the number of messages send to the producer which are not acknowledged, before signalling back pressure.

    actorSystem

    the actor system.

Type Members

  1. type Shape = SinkShape[ProducerEvent]

    Permalink
    Definition Classes
    Graph

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAttributes(attr: Attributes): Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def async(dispatcher: String, inputBufferSize: Int): Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    Graph
  7. def async(dispatcher: String): Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    Graph
  8. def async: Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    Graph
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, Future[Done])

    Permalink
    Definition Classes
    KinesisSinkGraphStage → GraphStageWithMaterializedValue
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def initialAttributes: Attributes

    Permalink
    Attributes
    protected
    Definition Classes
    GraphStageWithMaterializedValue
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  19. def named(name: String): Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    Graph
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val promise: Promise[Done]

    Permalink
  24. def shape: SinkShape[ProducerEvent]

    Permalink
    Definition Classes
    KinesisSinkGraphStage → Graph
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def withAttributes(attr: Attributes): Graph[SinkShape[ProducerEvent], Future[Done]]

    Permalink
    Definition Classes
    GraphStageWithMaterializedValue → Graph

Inherited from LazyLogging

Inherited from GraphStageWithMaterializedValue[SinkShape[ProducerEvent], Future[Done]]

Inherited from Graph[SinkShape[ProducerEvent], Future[Done]]

Inherited from AnyRef

Inherited from Any

Ungrouped