| Package | Description |
|---|---|
| software.amazon.kinesis.lifecycle | |
| software.amazon.kinesis.retrieval | |
| software.amazon.kinesis.retrieval.fanout | |
| software.amazon.kinesis.retrieval.polling |
| Constructor and Description |
|---|
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
software.amazon.kinesis.lifecycle.ConsumerState initialState,
Function<ConsumerTask,ConsumerTask> taskMetricsDecorator,
int bufferSize,
TaskExecutionListener taskExecutionListener) |
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
TaskExecutionListener taskExecutionListener) |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords)
Returns a RecordsPublisher to be used for retrieving records for a given shard.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FanOutRecordsPublisher |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
FanOutRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockingRecordsPublisher
This is the BlockingRecordsPublisher class.
|
class |
PrefetchRecordsPublisher
This is the prefetch caching class, this class spins up a thread if prefetching is enabled.
|
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
SynchronousPrefetchingRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
RecordsPublisher |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
Copyright © 2019. All rights reserved.