| Package | Description |
|---|---|
| software.amazon.kinesis.leases | |
| software.amazon.kinesis.leases.dynamodb | |
| software.amazon.kinesis.leases.exceptions | |
| software.amazon.kinesis.lifecycle |
| Modifier and Type | Class and Description |
|---|---|
class |
KinesisShardDetector |
| Modifier and Type | Method and Description |
|---|---|
default ShardDetector |
LeaseManagementFactory.createShardDetector()
Deprecated.
This method is never invoked, please remove implementation of this method
as it will be removed in future releases.
|
default ShardDetector |
LeaseManagementFactory.createShardDetector(StreamConfig streamConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
List<software.amazon.awssdk.services.kinesis.model.Shard> latestShards,
boolean ignoreUnexpectedChildShards,
MetricsScope scope,
boolean isLeaseTableEmpty)
Provide a pre-collected list of shards to avoid calling ListShards API
|
boolean |
HierarchicalShardSyncer.checkAndCreateLeaseForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
MetricsScope scope,
boolean ignoreUnexpectedChildShards,
boolean isLeaseTableEmpty)
Check and create leases for any new shards (e.g.
|
| Constructor and Description |
|---|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
HierarchicalShardSyncer hierarchicalShardSyncer,
MetricsFactory metricsFactory)
Constructor.
|
ShardSyncTaskManager(ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPositionInStream,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIdleTimeMillis,
ExecutorService executorService,
MetricsFactory metricsFactory)
Deprecated.
This constructor is deprecated and will be removed in a future release.
|
| Modifier and Type | Method and Description |
|---|---|
ShardDetector |
DynamoDBLeaseManagementFactory.createShardDetector(StreamConfig streamConfig)
KinesisShardDetector supports reading from service only using streamName.
|
| Constructor and Description |
|---|
DynamoDBLeaseManagementFactory(@NotNull software.amazon.awssdk.services.kinesis.KinesisAsyncClient kinesisClient,
@NotNull software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
@NotNull String tableName,
@NotNull String workerIdentifier,
@NotNull ExecutorService executorService,
long failoverTimeMillis,
boolean enablePriorityLeaseAssignment,
long epsilonMillis,
int maxLeasesForWorker,
int maxLeasesToStealAtOneTime,
int maxLeaseRenewalThreads,
boolean cleanupLeasesUponShardCompletion,
boolean ignoreUnexpectedChildShards,
long shardSyncIntervalMillis,
boolean consistentReads,
long listShardsBackoffTimeMillis,
int maxListShardsRetryAttempts,
int maxCacheMissesBeforeReload,
long listShardsCacheAllowedAgeInSeconds,
int cacheMissWarningModulus,
long initialLeaseTableReadCapacity,
long initialLeaseTableWriteCapacity,
TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
software.amazon.awssdk.services.dynamodb.model.BillingMode billingMode,
boolean leaseTableDeletionProtectionEnabled,
boolean leaseTablePitrEnabled,
Collection<software.amazon.awssdk.services.dynamodb.model.Tag> tags,
@NotNull LeaseSerializer leaseSerializer,
Function<StreamConfig,ShardDetector> customShardDetectorProvider,
boolean isMultiStreamMode,
LeaseCleanupConfig leaseCleanupConfig,
LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig workerUtilizationAwareAssignmentConfig,
LeaseManagementConfig.GracefulLeaseHandoffConfig gracefulLeaseHandoffConfig,
long leaseAssignmentIntervalMillis)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ShardSyncer.checkAndCreateLeasesForNewShards(@NonNull ShardDetector shardDetector,
LeaseRefresher leaseRefresher,
InitialPositionInStreamExtended initialPosition,
boolean ignoreUnexpectedChildShards,
MetricsScope scope)
Deprecated.
|
| Constructor and Description |
|---|
ProcessTask(@NonNull ShardInfo shardInfo,
@NonNull ShardRecordProcessor shardRecordProcessor,
@NonNull ShardRecordProcessorCheckpointer recordProcessorCheckpointer,
long backoffTimeMillis,
boolean skipShardSyncAtWorkerInitializationIfLeasesExist,
ShardDetector shardDetector,
@NonNull ThrottlingReporter throttlingReporter,
ProcessRecordsInput processRecordsInput,
boolean shouldCallProcessRecordsEvenForEmptyRecordList,
long idleTimeInMilliseconds,
@NonNull AggregatorUtil aggregatorUtil,
@NonNull MetricsFactory metricsFactory,
SchemaRegistryDecoder schemaRegistryDecoder,
@NonNull LeaseStatsRecorder leaseStatsRecorder) |
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) |
Copyright © 2025. All rights reserved.