Packages

object Consumer

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

Type Members

  1. trait Control extends AnyRef

    The materialized value of the consumer sources.

    The materialized value of the consumer sources. Used for control shutdown.

    Not for user extension.

    Annotations
    @DoNotInherit()
  2. trait DrainingControl[T] extends Control

    Combines control and stream completion materialized values, allowing the stream to be stopped in a controlled way without losing checkpoints

    Combines control and stream completion materialized values, allowing the stream to be stopped in a controlled way without losing checkpoints

    The stream completion materialized value will typically be that of a sink (e.g. 'Sink.ignore')

    Not for user extension.

    Annotations
    @DoNotInherit()

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(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createDrainingControl[T](pair: Pair[Control, CompletionStage[T]]): DrainingControl[T]

    Combine the consumer control and the stream completion signal materialized values into one, so that the stream can be stopped without losing checkpoints.

    Combine the consumer control and the stream completion signal materialized values into one, so that the stream can be stopped without losing checkpoints.

    For use with the 'mapMaterializedValue' combination of materialized values.

  7. def createDrainingControl[T](c: Control, mat: CompletionStage[T]): DrainingControl[T]

    Combine the consumer control and the stream completion signal materialized values into one, so that the stream can be stopped without losing checkpoints.

    Combine the consumer control and the stream completion signal materialized values into one, so that the stream can be stopped without losing checkpoints.

    For use with the 'toMat' combination of materialized values.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def pairSource(settings: ConsumerSettings, sdkClientBuilder: EventProcessorClientBuilder, checkpointSettings: CheckpointSettings, checkpointStore: CheckpointStore): Source[Pair[EventData, Checkpointable], Control]
  17. def source[T](settings: ConsumerSettings, sdkClientBuilder: EventProcessorClientBuilder, checkpointSettings: CheckpointSettings, checkpointStore: CheckpointStore, f: Function2[EventData, Checkpointable, T]): Source[T, Control]

    Source which applies a function to the EventData and checkpointable to build an arbitrary type.

    Source which applies a function to the EventData and checkpointable to build an arbitrary type. It is equivalent to 'sourceWithCheckpointableContext.asSource().map(pair -> f(pair.first(), pair.second()))' but without the overhead of the intermediate SourceWithContext. Supports "at-least-once delivery".

  18. def sourceWithCheckpointableContext(settings: ConsumerSettings, sdkClientBuilder: EventProcessorClientBuilder, checkpointSettings: CheckpointSettings, checkpointStore: CheckpointStore): SourceWithContext[EventData, Checkpointable, Control]

    Source which emits 'EventData' together with the checkpointable as flow context, which allows checkpointing to the checkpoint store.

    Source which emits 'EventData' together with the checkpointable as flow context, which allows checkpointing to the checkpoint store. Supports "at-least-once delivery": each event will likely be delivered once, but could be redelivered in failure cases.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped