| 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 |
NotifyingSubscriber.getRecordsPublisher()
Return the publisher to be notified
|
RecordsPublisher |
ShardConsumerNotifyingSubscriber.getRecordsPublisher() |
| 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,
ConsumerTaskFactory taskFactory) |
ShardConsumer(RecordsPublisher recordsPublisher,
ExecutorService executorService,
ShardInfo shardInfo,
Optional<Long> logWarningForTaskAfterMillis,
ShardConsumerArgument shardConsumerArgument,
TaskExecutionListener taskExecutionListener,
int readTimeoutsToIgnoreBeforeWarning,
ConsumerTaskFactory consumerTaskFactory) |
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder) |
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder,
String consumerId) |
| 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. |
default RecordsPublisher |
RetrievalFactory.createGetRecordsCache(ShardInfo shardInfo,
StreamConfig streamConfig,
MetricsFactory metricsFactory,
String consumerId) |
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords)
Deprecated.
|
RecordsPublisher |
RecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords,
SleepTimeController sleepTimeController)
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 |
SynchronousBlockingRetrievalFactory.createGetRecordsCache(@NonNull ShardInfo shardInfo,
@NonNull StreamConfig streamConfig,
@NonNull MetricsFactory metricsFactory,
String consumerId) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords) |
RecordsPublisher |
SimpleRecordsFetcherFactory.createRecordsFetcher(GetRecordsRetrievalStrategy getRecordsRetrievalStrategy,
String shardId,
MetricsFactory metricsFactory,
int maxRecords,
SleepTimeController sleepTimeController) |
Copyright © 2025. All rights reserved.