| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker |
| Modifier and Type | Method and Description |
|---|---|
static ShardInfo |
KinesisClientLibLeaseCoordinator.convertLeaseToAssignment(KinesisClientLease lease) |
| Modifier and Type | Method and Description |
|---|---|
static List<ShardInfo> |
KinesisClientLibLeaseCoordinator.convertLeasesToAssignments(Collection<KinesisClientLease> leases) |
List<ShardInfo> |
KinesisClientLibLeaseCoordinator.getCurrentAssignments() |
List<ShardInfo> |
ParentsFirstShardPrioritization.prioritize(List<ShardInfo> original)
Deprecated.
|
List<ShardInfo> |
ShardPrioritization.prioritize(List<ShardInfo> original)
Returns new list of shards ordered based on their priority.
|
List<ShardInfo> |
NoOpShardPrioritization.prioritize(List<ShardInfo> original) |
| Modifier and Type | Method and Description |
|---|---|
protected IShardConsumer |
Worker.buildConsumer(ShardInfo shardInfo,
IRecordProcessorFactory processorFactory) |
IShardConsumer |
KinesisShardConsumerFactory.createShardConsumer(ShardInfo shardInfo,
StreamConfig streamConfig,
ICheckpoint checkpointTracker,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
KinesisClientLibLeaseCoordinator leaseCoordinator,
long parentShardPollIntervalMillis,
boolean cleanupLeasesUponShardCompletion,
ExecutorService executorService,
IMetricsFactory metricsFactory,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
Optional<Integer> retryGetRecordsInSeconds,
Optional<Integer> maxGetRecordsThreadPool,
KinesisClientLibConfiguration config,
ShardSyncer shardSyncer,
ShardSyncStrategy shardSyncStrategy,
LeaseCleanupManager leaseCleanupManager) |
IShardConsumer |
IShardConsumerFactory.createShardConsumer(ShardInfo shardInfo,
StreamConfig streamConfig,
ICheckpoint checkpointTracker,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
KinesisClientLibLeaseCoordinator leaseCoordinator,
long parentShardPollIntervalMillis,
boolean cleanupLeasesUponShardCompletion,
ExecutorService executorService,
IMetricsFactory metricsFactory,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
Optional<Integer> retryGetRecordsInSeconds,
Optional<Integer> maxGetRecordsThreadPool,
KinesisClientLibConfiguration config,
ShardSyncer shardSyncer,
ShardSyncStrategy shardSyncStrategy,
LeaseCleanupManager leaseCleanupManager)
Returns a shard consumer to be used for consuming a (assigned) shard.
|
| Modifier and Type | Method and Description |
|---|---|
List<ShardInfo> |
ParentsFirstShardPrioritization.prioritize(List<ShardInfo> original)
Deprecated.
|
List<ShardInfo> |
ShardPrioritization.prioritize(List<ShardInfo> original)
Returns new list of shards ordered based on their priority.
|
List<ShardInfo> |
NoOpShardPrioritization.prioritize(List<ShardInfo> original) |
| Constructor and Description |
|---|
BlockOnParentShardTask(ShardInfo shardInfo,
ILeaseManager<KinesisClientLease> leaseManager,
long parentShardPollIntervalMillis) |
InitializeTask(ShardInfo shardInfo,
IRecordProcessor recordProcessor,
ICheckpoint checkpoint,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
StreamConfig streamConfig,
GetRecordsCache getRecordsCache)
Constructor.
|
KinesisDataFetcher(IKinesisProxy kinesisProxy,
ShardInfo shardInfo) |
ProcessTask(ShardInfo shardInfo,
StreamConfig streamConfig,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
GetRecordsCache getRecordsCache) |
ProcessTask(ShardInfo shardInfo,
StreamConfig streamConfig,
IRecordProcessor recordProcessor,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
com.amazonaws.services.kinesis.clientlibrary.lib.worker.ThrottlingReporter throttlingReporter,
GetRecordsCache getRecordsCache) |
RecordProcessorCheckpointer(ShardInfo shardInfo,
ICheckpoint checkpoint,
SequenceNumberValidator validator,
IMetricsFactory metricsFactory)
Only has package level access, since only the Amazon Kinesis Client Library should be creating these.
|
ShutdownNotificationTask(IRecordProcessor recordProcessor,
IRecordProcessorCheckpointer recordProcessorCheckpointer,
ShutdownNotification shutdownNotification,
ShardInfo shardInfo) |
Copyright © 2023. All rights reserved.