| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.kinesis.kinesisrecorder |
Primary classes for interacting with the Kinesis connector for offline storage
of records, and improved performance when working with to Amazon Kinesis.
|
| Modifier and Type | Field and Description |
|---|---|
protected KinesisRecorderConfig |
AbstractKinesisRecorder.config
The configurable options for Kinesis Recorder, includes the
ClientConfiguration of the low level client.
|
| Modifier and Type | Method and Description |
|---|---|
KinesisRecorderConfig |
AbstractKinesisRecorder.getKinesisRecorderConfig()
Returns the KinesisRecorderConfig this Kinesis Recorder is using.
|
KinesisRecorderConfig |
KinesisRecorderConfig.withDeadLetterListener(DeadLetterListener deadLetterListener)
Sets the
DeadLetterListener that will respond to records being dropped. |
KinesisRecorderConfig |
KinesisRecorderConfig.withMaxStorageSize(long maxStorage)
Sets the max storage in bytes that KinesisRecorder is allowed to use.
|
KinesisRecorderConfig |
KinesisRecorderConfig.withPartitionKey(String partKey)
Optionally set partition key.
|
| Constructor and Description |
|---|
AbstractKinesisRecorder(com.amazonaws.mobileconnectors.kinesis.kinesisrecorder.FileRecordStore recordStore,
KinesisRecorderConfig config)
Creates a
AbstractKinesisRecorder. |
KinesisFirehoseRecorder(File directory,
Regions region,
AWSCredentialsProvider credentialsProvider,
KinesisRecorderConfig config)
Constructs a new Kinesis Firehose Recorder specifying a directory that
the recorder has exclusive access to for storing requests.
|
KinesisRecorder(File directory,
Regions region,
AWSCredentialsProvider credentialsProvider,
KinesisRecorderConfig config)
Constructs a new Kinesis Recorder specifying a directory that Kinesis
Recorder has exclusive access to for storing requests.
|
KinesisRecorderConfig(KinesisRecorderConfig other)
Creates a copy of the passed in KinesisRecorderConfig.
|
Copyright © 2019. All rights reserved.