| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker |
| Modifier and Type | Class and Description |
|---|---|
class |
KinesisClientLibLeaseCoordinator
This class is used to coordinate/manage leases owned by this worker process and to get/set checkpoints.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Constructor and Description |
|---|
InitializeTask(ShardInfo shardInfo,
IRecordProcessor recordProcessor,
ICheckpoint checkpoint,
RecordProcessorCheckpointer recordProcessorCheckpointer,
IDataFetcher dataFetcher,
long backoffTimeMillis,
StreamConfig streamConfig,
GetRecordsCache getRecordsCache)
Constructor.
|
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.
|
Copyright © 2024. All rights reserved.