| Package | Description |
|---|---|
| software.amazon.kinesis.leases | |
| software.amazon.kinesis.leases.dynamodb |
| Modifier and Type | Method and Description |
|---|---|
LeaseManagementFactory |
LeaseManagementConfig.leaseManagementFactory(LeaseSerializer leaseSerializer,
boolean isMultiStreamingMode)
Vends LeaseManagementFactory that performs serde based on leaseSerializer and shard sync based on isMultiStreamingMode
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamoDBLeaseSerializer
An implementation of ILeaseSerializer for basic Lease objects.
|
class |
DynamoDBMultiStreamLeaseSerializer |
| Modifier and Type | Field and Description |
|---|---|
protected LeaseSerializer |
DynamoDBLeaseRefresher.serializer |
| 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.
|
DynamoDBLeaseRefresher(String table,
software.amazon.awssdk.services.dynamodb.DynamoDbAsyncClient dynamoDBClient,
LeaseSerializer serializer,
boolean consistentReads,
@NonNull TableCreatorCallback tableCreatorCallback,
Duration dynamoDbRequestTimeout,
DdbTableConfig ddbTableConfig,
boolean leaseTableDeletionProtectionEnabled,
boolean leaseTablePitrEnabled,
Collection<software.amazon.awssdk.services.dynamodb.model.Tag> tags)
Constructor.
|
Copyright © 2025. All rights reserved.