o

com.workflowfm.pew.kafka.components

KafkaWrapperFlows

object KafkaWrapperFlows

Mid-Level Kafka Interface: Defines the akka sources, flows, and sinks, which the high-level interface (KafkaConnectors) builds executable wrappers for the StatelessComponents with.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaWrapperFlows
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Environment = KafkaExecutorEnvironment

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def flowCheck[T]: Flow[Tracked[T], T, NotUsed]
  10. def flowCheckMulti[T]: Flow[Tracked[Seq[T]], T, NotUsed]
  11. def flowLogIn[T <: Tracked[_]](implicit env: Environment): Flow[T, T, NotUsed]
  12. def flowLogOut[T <: Tracked[_]](implicit env: Environment): Flow[T, T, NotUsed]
  13. def flowRespond[T[X] <: Tracked[X], In, Out](component: StatelessComponent[In, Out]): Flow[T[In], T[Out], NotUsed]
  14. def flowRespondAll[T[X] <: Tracked[X], In, Out](component: StatelessComponent[In, Out]): Flow[T[Seq[In]], T[Seq[Out]], NotUsed]
  15. def flowSequencer[T[X] <: Tracked[X]]: Flow[T[PiiHistory], T[Seq[AnyMsg]], NotUsed]

    Synchronous handling intended for consuming a single PiiHistory partition.

    Synchronous handling intended for consuming a single PiiHistory partition. Blocks until a ReduceRequest is released by receiving both a PiiUpdate *and* at least one SequenceRequest. All SequenceRequests received are responded to, even if this requires sending a ReduceRequest for a PiiUpdate that contains no SequenceRequests.

    returns

    Akka flow capable of sequencing a single PiiHistory partition into a ReduceRequest stream.

  16. def flowWaitFuture[T[X] <: Tracked[X], Msg](parallelism: Int)(implicit env: Environment): Flow[T[Future[Msg]], T[Msg], NotUsed]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def run[T](source: Source[T, Control], sink: Sink[T, Future[Done]])(implicit env: Environment): DrainingControl[Done]
  24. def sinkPlain(implicit env: Environment): Sink[AnyMsg, Future[Done]]
  25. def srcAll(implicit env: Environment): Source[CommitTracked[AnyMsg], Control]

    Kafka Consumers for each topic merged into a single Akka source.

    Kafka Consumers for each topic merged into a single Akka source.

    returns

    Merged source for all topics.

  26. def srcAssignment[T[X] <: Tracked[X]](implicit env: Environment, f: TrackedSource[T]): Source[T[Assignment], Control]

    Kafka Consumer for the Assignment topic.

    Kafka Consumer for the Assignment topic.

    returns

    Akka source containing messages published to the Assignment topic.

  27. def srcPiiHistory[T[X] <: Tracked[X]](implicit env: Environment, f: TrackedSource[T]): Source[T[PiiHistory], Control]

    Kafka Consumer for the PiiHistory topic.

    Kafka Consumer for the PiiHistory topic. Exposes the individual partition sources so they handled individually by flowPartition argument.

    returns

    Akka source containing the processed output messages of each partition.

  28. def srcReduceRequest[T[X] <: Tracked[X]](implicit env: Environment, f: TrackedSource[T]): Source[T[ReduceRequest], Control]

    Kafka Consumer for the ReduceRequest topic.

    Kafka Consumer for the ReduceRequest topic.

    returns

    Akka source containing messages published to the ReduceRequest topic.

  29. def srcResult[T[X] <: Tracked[X]](groupId: String)(implicit env: Environment, f: TrackedSource[T]): Source[T[PiiLog], Control]

    Kafka Consumer for the Result topic.

    Kafka Consumer for the Result topic. Configurable Group Id to allow control of the starting point of consumption.

    groupId

    GroupId for the Kafka Consumer.

    returns

    Akka source containing messages published to the Results topic.

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped