public final class VarianceBasedLeaseAssignmentDecider extends Object implements LeaseAssignmentDecider
reBalanceThreshold. During reassignments the dampeningPercentageValue is used to achieve
critical dampening.| Constructor and Description |
|---|
VarianceBasedLeaseAssignmentDecider(software.amazon.kinesis.coordinator.assignment.LeaseAssignmentManager.InMemoryStorageView inMemoryStorageView,
int dampeningPercentageValue,
int reBalanceThreshold,
boolean allowThroughputOvershoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignExpiredOrUnassignedLeases(List<Lease> expiredOrUnAssignedLeases)
Assigns expiredOrUnAssignedLeases to the available workers.
|
void |
balanceWorkerVariance()
Performs the balancing of the throughput assigned to workers based on the WorkerMetricsValues of worker with respect
to fleet level average.
|
public VarianceBasedLeaseAssignmentDecider(software.amazon.kinesis.coordinator.assignment.LeaseAssignmentManager.InMemoryStorageView inMemoryStorageView,
int dampeningPercentageValue,
int reBalanceThreshold,
boolean allowThroughputOvershoot)
public void assignExpiredOrUnassignedLeases(List<Lease> expiredOrUnAssignedLeases)
LeaseAssignmentDeciderassignExpiredOrUnassignedLeases in interface LeaseAssignmentDeciderpublic void balanceWorkerVariance()
balanceWorkerVariance in interface LeaseAssignmentDeciderCopyright © 2025. All rights reserved.