| Modifier and Type | Method and Description |
|---|---|
Checkpointer |
CheckpointFactory.createCheckpointer(LeaseCoordinator leaseCoordinator,
LeaseRefresher leaseRefresher) |
| Modifier and Type | Method and Description |
|---|---|
Checkpointer |
DynamoDBCheckpointFactory.createCheckpointer(LeaseCoordinator leaseLeaseCoordinator,
LeaseRefresher leaseRefresher) |
| Modifier and Type | Method and Description |
|---|---|
LeaseCoordinator |
LeaseManagementFactory.createLeaseCoordinator(MetricsFactory metricsFactory) |
default LeaseCoordinator |
LeaseManagementFactory.createLeaseCoordinator(MetricsFactory metricsFactory,
ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap) |
| Modifier and Type | Class and Description |
|---|---|
class |
DynamoDBLeaseCoordinator
LeaseCoordinator abstracts away LeaseTaker and LeaseRenewer from the application code that's using leasing.
|
| Modifier and Type | Method and Description |
|---|---|
LeaseCoordinator |
DynamoDBLeaseManagementFactory.createLeaseCoordinator(@NonNull MetricsFactory metricsFactory) |
LeaseCoordinator |
DynamoDBLeaseManagementFactory.createLeaseCoordinator(@NonNull MetricsFactory metricsFactory,
@NonNull ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap) |
| Modifier and Type | Method and Description |
|---|---|
static LeaseGracefulShutdownHandler |
LeaseGracefulShutdownHandler.create(long shutdownTimeoutMillis,
ConcurrentMap<ShardInfo,ShardConsumer> shardInfoShardConsumerMap,
LeaseCoordinator leaseCoordinator)
Factory method to create a new instance of LeaseGracefulShutdownHandler.
|
| Constructor and Description |
|---|
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder) |
ShardConsumerArgument(@NonNull ShardInfo shardInfo,
@NonNull StreamIdentifier streamIdentifier,
LeaseCoordinator leaseCoordinator,
ExecutorService executorService,
RecordsPublisher recordsPublisher,
ShardRecordProcessor shardRecordProcessor,
Checkpointer checkpoint,
ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long parentShardPollIntervalMillis,
long taskBackoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
ShardDetector shardDetector,
AggregatorUtil aggregatorUtil,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory,
@NonNull LeaseCleanupManager leaseCleanupManager,
SchemaRegistryDecoder schemaRegistryDecoder,
String consumerId) |
ShardConsumerShutdownNotification(LeaseCoordinator leaseCoordinator,
Lease lease,
CountDownLatch notificationCompleteLatch,
CountDownLatch shutdownCompleteLatch)
Creates a new shutdown request object.
|
Copyright © 2025. All rights reserved.