Package

com.weightwatchers.reactive.kinesis

producer

Permalink

package producer

Visibility
  1. Public
  2. All

Type Members

  1. trait KinesisProducer extends AnyRef

    Permalink
  2. class KinesisProducerActor extends Actor with LazyLogging with UnboundedStash

    Permalink

    This Actor wraps the KinesisProducerKPL to provide reliable handling and throttling of requests.

    This Actor wraps the KinesisProducerKPL to provide reliable handling and throttling of requests.

    Upon completion of a com.weightwatchers.reactive.kinesis.producer.KinesisProducerActor.SendWithCallback, a com.weightwatchers.reactive.kinesis.producer.KinesisProducerActor.SendSuccessful or com.weightwatchers.reactive.kinesis.producer.KinesisProducerActor.SendFailed will be returned to the original sender, this allows asynchronous tracking of requests.

    Internally, for each request a new Future is created to track the completion. These concurrently created Futures can be throttled by specifying the maxOutstandingRequests.

    This causes subsequent requests to be queued up until the outstanding messages have been processed.

  3. class KinesisProducerKPL extends LazyLogging with KinesisProducer

    Permalink

    Sends messages to the configured Kinesis stream.

    Sends messages to the configured Kinesis stream.

    To create an instance of this class, we recommend using the apply method to instantiate from config.

Value Members

  1. object KinesisProducerActor

    Permalink
  2. object KinesisProducerKPL extends LazyLogging

    Permalink

Ungrouped