| Package | Description |
|---|---|
| software.amazon.kinesis.lifecycle | |
| software.amazon.kinesis.retrieval | |
| software.amazon.kinesis.retrieval.fanout | |
| software.amazon.kinesis.retrieval.polling |
| Modifier and Type | Method and Description |
|---|---|
RecordsPublisher |
ShardConsumerNotifyingSubscriber.getRecordsPublisher() |
RecordsPublisher |
NotifyingSubscriber.getRecordsPublisher()
Return the publisher to be notified
|
| Constructor and Description |
|---|
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
software.amazon.kinesis.lifecycle.ConsumerState initialState,
int bufferSize,
TaskExecutionListener taskExecutionListener,
int readTimeoutsToIgnoreBeforeWarning) |
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
TaskExecutionListener taskExecutionListener,
int readTimeoutsToIgnoreBeforeWarning) |
| Modifier and Type | Method and Description |
|---|---|
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
MetricsFactory metricsFactory)
Deprecated.
This method is deprecated and will be removed in future versions.
Please use
RetrievalFactory.createGetRecordsCache(ShardInfo, StreamConfig, MetricsFactory). |
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory)
Creates a
RecordsPublisher instance to retrieve records for the specified shard. |
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(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
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 |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
@NonNull MetricsFactory metricsFactory) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
Copyright © 2024. All rights reserved.