Class/Object

com.weightwatchers.reactive.kinesis.consumer

KinesisConsumer

Related Docs: object KinesisConsumer | package consumer

Permalink

class KinesisConsumer extends ConsumerService with LazyLogging

A Kinesis consumer which wraps Amazon's KCL and performs reliable asynchronous checkpointing.

NOTE: This should be created via the companion object which will create the worker.

Linear Supertypes
LazyLogging, ConsumerService, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KinesisConsumer
  2. LazyLogging
  3. ConsumerService
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new KinesisConsumer(consumerConf: ConsumerConf, consumerWorkerProps: Props, system: ActorSystem, context: ActorRefFactory)

    Permalink

    consumerConf

    The consumer specific configuration, containing all configuration required for this consumer instance.

    consumerWorkerProps

    the worker props for processing requests and handling all checkpointing.

    system

    This is required to lookup the dispatchers and create the actors. We specifically need a system for this purpose.

    context

    This will be used to create the actor hierarchy. So all Actors created will be children/grandchildren of this context. This can be the same value as the system but we don't want to force the user into using an ActorSystem vs ActorContext.

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. implicit val dispatcher: ExecutionContextExecutor

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val isShuttingDown: AtomicBoolean

    Permalink
  14. lazy val kclWorker: Worker

    Permalink
  15. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  16. val managerBatchTimeout: Timeout

    Permalink
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def start(): Future[Unit]

    Permalink

    The Future returned is long running, completion of the future indicates we're no longer processing messages and should be handled accordingly by the callee.

    The Future returned is long running, completion of the future indicates we're no longer processing messages and should be handled accordingly by the callee.

    returns

    a future that refers to the lifecycle of this service.

    Definition Classes
    KinesisConsumerConsumerService
  21. def stop(): Unit

    Permalink

    Gracefully Shutdown this Consumer.

    Gracefully Shutdown this Consumer.

    Definition Classes
    KinesisConsumerConsumerService
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LazyLogging

Inherited from ConsumerService

Inherited from AnyRef

Inherited from Any

Ungrouped