| Package | Description |
|---|---|
| software.amazon.kinesis.leases.dynamodb |
| Modifier and Type | Method and Description |
|---|---|
DynamoDBLeaseTaker |
DynamoDBLeaseTaker.withEnablePriorityLeaseAssignment(boolean enablePriorityLeaseAssignment) |
DynamoDBLeaseTaker |
DynamoDBLeaseTaker.withMaxLeasesForWorker(int maxLeasesForWorker)
Worker will not acquire more than the specified max number of leases even if there are more
shards that need to be processed.
|
DynamoDBLeaseTaker |
DynamoDBLeaseTaker.withMaxLeasesToStealAtOneTime(int maxLeasesToStealAtOneTime)
Max leases to steal from a more loaded Worker at one time (for load balancing).
|
DynamoDBLeaseTaker |
DynamoDBLeaseTaker.withVeryOldLeaseDurationNanosMultiplier(int veryOldLeaseDurationNanosMultiplier)
Overrides the default very old lease duration nanos multiplier to increase the threshold for taking very old leases.
|
Copyright © 2024. All rights reserved.