Packages

object KinesisFlow

Source
KinesisFlow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KinesisFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def apply(streamName: String, settings: KinesisFlowSettings = KinesisFlowSettings.Defaults)(implicit kinesisClient: KinesisAsyncClient): Flow[PutRecordsRequestEntry, PutRecordsResultEntry, NotUsed]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def batchWritingFlow[S, T](streamName: String, handleBatch: (Iterable[(PutRecordsRequestEntry, T)]) => (Try[PutRecordsResponse]) => Try[Iterable[(S, T)]], settings: KinesisFlowSettings)(implicit kinesisClient: KinesisAsyncClient): Flow[Iterable[(PutRecordsRequestEntry, T)], (S, T), NotUsed]
  7. def batchingFlow[T](settings: KinesisFlowSettings): Flow[(PutRecordsRequestEntry, T), Iterable[(PutRecordsRequestEntry, T)], NotUsed]
  8. def byPartitionAndBytes(streamName: String, settings: KinesisFlowSettings = KinesisFlowSettings.Defaults)(implicit kinesisClient: KinesisAsyncClient): Flow[(String, ByteString), PutRecordsResultEntry, NotUsed]
  9. def byPartitionAndData(streamName: String, settings: KinesisFlowSettings = KinesisFlowSettings.Defaults)(implicit kinesisClient: KinesisAsyncClient): Flow[(String, ByteBuffer), PutRecordsResultEntry, NotUsed]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def handlePutRecordsSuccess[T](entries: Iterable[(PutRecordsRequestEntry, T)])(result: PutRecordsResponse): List[(PutRecordsResultEntry, T)]
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. def withContext[T](streamName: String, settings: KinesisFlowSettings = KinesisFlowSettings.Defaults)(implicit kinesisClient: KinesisAsyncClient): FlowWithContext[PutRecordsRequestEntry, T, PutRecordsResultEntry, T, NotUsed]

    Creates default implementation of KinesisFlow that takes in PutRecordsRequestEntry with context and emits PutRecordsResultEntry with context.

    Creates default implementation of KinesisFlow that takes in PutRecordsRequestEntry with context and emits PutRecordsResultEntry with context.

    To note is that the flow first does batching according to the KinesisFlowSettings provided and then writes the data in batches via the KinesisAsyncClient. On any error from the client, the flow will fail.

    If it is necessary to have special handling for batching or of errors and successful results the methods @see KinesisFlow.batchingFlow & @see KinesisFlow.batchWritingFlow can be used and combined in other ways than the default in this method.

Inherited from AnyRef

Inherited from Any

Ungrouped