| Package | Description |
|---|---|
| com.amazonaws.services.kinesis.clientlibrary.lib.worker |
| Modifier and Type | Class and Description |
|---|---|
class |
KinesisShardConsumer
Responsible for consuming data records of a (specified) shard.
|
| 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.
|
Copyright © 2024. All rights reserved.