This
wraps the KinesisProducerKPL to provide reliable handling and throttling of requests.Actor
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.
This
wraps the KinesisProducerKPL to provide reliable handling and throttling of requests.Actor
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.