| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker | |
| com.amazonaws.services.kinesis.leases.impl |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static LeaseCleanupManager |
LeaseCleanupManager.newInstance(IKinesisProxy kinesisProxy,
ILeaseManager leaseManager,
ScheduledExecutorService deletionThreadPool,
IMetricsFactory metricsFactory,
boolean cleanupLeasesUponShardCompletion,
long leaseCleanupIntervalMillis,
long completedLeaseCleanupIntervalMillis,
long garbageLeaseCleanupIntervalMillis,
int maxRecords)
Method to return a new instance of
LeaseCleanupManager. |
Copyright © 2023. All rights reserved.