A helper class to merge required/optional/default parameters and run a KCL Worker.
Configures KCL
Configures KCL
http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-record-processor-implementation-app-java.html https://github.com/aws/aws-sdk-java/blob/master/src/samples/AmazonKinesisApplication/SampleKinesisApplication.java
https://github.com/awslabs/amazon-kinesis-client
Publishes a mini-batch of records to Kinesis.
Publishes a mini-batch of records to Kinesis. Implements the necessary retry logic.
Stats about attempted call to publishBatch(), mostly to allow metrics library hooks.
Simplified view of AWS SDK's kinesis record, just a couple of things we care about.
Type class of things that kinesis records can be converted to.
'type class' of things that can be converted to KinesisRecord.
Few implicit definitions for easy import.
Constructs IRecordProcessorFactory.
Constructs IRecordProcessorFactory.
See https://github.com/aws/aws-sdk-java/blob/master/src/samples/AmazonKinesisApplication/SampleKinesisApplication.java http://docs.aws.amazon.com/kinesis/latest/dev/kinesis-record-processor-implementation-app-java.html
N.B. This only constructs IRecordProcessorFactory, if you want higher level entry point take a look at KCLWorkerRunner.
Constructs KinesisPublisher.
A helper class to merge required/optional/default parameters and run a KCL Worker.
KCL config, @see KCLConfiguration for some useful defaults.
how often to save checkpoint to dynamodb
how many times to retry operation on exception before giving up
(ShardId) => Unit : additional code to execute when handler is initialized
(ShardId, Checkpointer, ShutdownReason) => Unit : additional code to execute on shutdown
CloudWatch metrics factory
the initial failed operation retry delay value, defaults to 10 seconds
the maximum failed operation retry delay value, defaults to 3 minutes