| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker |
| 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.
|
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) |
Copyright © 2024. All rights reserved.