| Package | Description |
|---|---|
| software.amazon.kinesis.retrieval | |
| software.amazon.kinesis.retrieval.polling |
| Modifier and Type | Method and Description |
|---|---|
default GetRecordsRetrievalStrategy |
RetrievalFactory.createGetRecordsRetrievalStrategy(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method was only used by specific implementations of
RetrievalFactory and should not be
required to be implemented; will be removed in future versions. |
| Modifier and Type | Method and Description |
|---|---|
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 |
AsynchronousGetRecordsRetrievalStrategy |
class |
SynchronousGetRecordsRetrievalStrategy |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
| Constructor and Description |
|---|
BlockingRecordsPublisher(int maxRecordsPerCall,
GetRecordsRetrievalStrategy getRecordsRetrievalStrategy) |
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
ExecutorService executorService,
long idleMillisBetweenCalls,
MetricsFactory metricsFactory,
String operation,
String shardId)
Constructor for the PrefetchRecordsPublisher.
|
PrefetchRecordsPublisher(int maxPendingProcessRecordsInput,
int maxByteSize,
int maxRecordsCount,
int maxRecordsPerCall,
@NonNull GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
@NonNull ExecutorService executorService,
long idleMillisBetweenCalls,
@NonNull MetricsFactory metricsFactory,
@NonNull String operation,
@NonNull String shardId,
long awaitTerminationTimeoutMillis)
Constructor for the PrefetchRecordsPublisher.
|
Copyright © 2024. All rights reserved.